* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: #131921;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0.75rem 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo i {
    color: #ff9900;
}

.navbar {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background: rgba(255,255,255,0.1);
}

/* Footer Styles */
footer {
    background: #131921;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

footer p {
    margin: 0;
}

/* Main Content */
main {
    min-height: calc(100vh - 300px);
    padding: 40px 0;
}

/* Form Styles */
.form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}

.form-card h1,
.form-card h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: #0f1111;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #0f1111;
    font-size: 0.95rem;
}

.form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Button Styles */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-block {
    width: 100%;
}

/* Alert Styles */
.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border-left: 4px solid #3c3;
    flex-direction: column;
    text-align: center;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    line-height: 1.6;
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .nav-menu li a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .form-card {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 0.5rem 12px;
    }

    .nav-menu li a span {
        display: none;
    }

    .nav-menu li a {
        padding: 0.5rem 0.6rem;
    }
}
