/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, #1a472a 0%, #2e7d32 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    transition: opacity 0.3s;
    display: block;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.nav-menu a.active {
    border-bottom: 2px solid white;
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #1a472a 0%, #2e7d32 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 71, 42, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: #1a472a;
    padding: 12px 24px;
    border: 2px solid #1a472a;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #1a472a;
    color: white;
}

.btn-full {
    width: 100%;
}

/* Links */
.link {
    color: #1a472a;
    text-decoration: none;
    transition: opacity 0.3s;
}

.link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Auth Container */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 50px 40px;
    max-width: 450px;
    width: 100%;
}

.auth-card h1 {
    color: #1a472a;
    margin-bottom: 10px;
    text-align: center;
    font-size: 32px;
}

.auth-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.auth-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #1a472a;
}

.form-footer {
    text-align: center;
    margin-top: 15px;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #666;
    font-size: 14px;
}

.message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-end;
    }

    .nav-menu li {
        font-size: 13px;
    }
}
