/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: white;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links a, .nav-links span {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-block {
    display: block;
    width: 100%;
    padding: 0.875rem;
}

/* Auth container */
.auth-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    max-width: 500px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Forms */
.auth-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 0.5rem;
}

.forgot-password {
    text-align: right;
    margin-top: 0.5rem;
}

.forgot-password a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Password strength */
.password-strength {
    height: 4px;
    background: #e1e1e1;
    margin-top: 0.5rem;
    border-radius: 2px;
    overflow: hidden;
}

.password-requirements {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

/* Social login */
.social-login {
    margin: 2rem 0;
    text-align: center;
}

.social-login p {
    margin-bottom: 1rem;
    color: #666;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e1e1e1;
    background: white;
    color: #333;
}

.btn-social img {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.btn-social.google:hover {
    background: #f8f8f8;
    border-color: #db4437;
}

.btn-social.facebook:hover {
    background: #f8f8f8;
    border-color: #4267B2;
}

/* Auth links */
.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.auth-links a {
    color: #4CAF50;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.user-info {
    margin-top: 2rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 0.5rem;
}

.info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e1e1e1;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    display: inline-block;
    width: 150px;
    color: #555;
}

/* CTA buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        display: flex;
        gap: 1rem;
    }
    
    .nav-links a, .nav-links span {
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .info-item strong {
        width: 120px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-container {
    animation: fadeIn 0.5s ease;
}