/* Authentication Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-container {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background: #EBF4FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.logo-container i {
    font-size: 48px;
    color: #3B82F6;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 16px;
    color: #6B7280;
    line-height: 24px;
}

.auth-form {
    width: 100%;
}

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

.input-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.input-container {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    padding: 16px;
    gap: 12px;
    transition: all 0.2s ease;
}

.input-container:focus-within {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-container i {
    color: #6B7280;
    font-size: 20px;
}

.input-container input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1F2937;
    background: transparent;
}

.input-container input::placeholder {
    color: #9CA3AF;
}

.auth-button {
    width: 100%;
    background: #3B82F6;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-button:hover {
    background: #2563EB;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-button:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    transform: none;
}

.signup-btn {
    background: #059669;
}

.signup-btn:hover {
    background: #047857;
}

.terms {
    margin-top: 16px;
    padding: 0 8px;
}

.terms p {
    font-size: 12px;
    color: #6B7280;
    text-align: center;
    line-height: 18px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 32px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

.divider span {
    margin: 0 16px;
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

.auth-link {
    text-align: center;
    margin-top: 16px;
}

.auth-link span {
    font-size: 16px;
    color: #6B7280;
}

.auth-link a {
    font-size: 16px;
    color: #3B82F6;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-link a:hover {
    color: #2563EB;
}

.error-message,
.success-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.error-message {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FCA5A5;
}

.success-message {
    background: #F0FDF4;
    color: #059669;
    border: 1px solid #86EFAC;
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-card {
        padding: 24px;
        margin: 10px;
    }
    
    .auth-header h1 {
        font-size: 28px;
    }
    
    .logo-container {
        width: 60px;
        height: 60px;
        border-radius: 30px;
    }
    
    .logo-container i {
        font-size: 36px;
    }
}