/* Auth Pages CSS - TradingView Style */
body, html {
    background: #ffffff;
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.tv-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
    background: #ffffff;
}

.tv-auth-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 48px 36px 36px 36px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.tv-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.tv-auth-logo {
    margin-bottom: 16px;
}

.tv-auth-logo span {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    letter-spacing: 0.5px;
}

.tv-auth-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.tv-auth-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.tv-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 1rem;
}

.tv-alert-success {
    background: rgba(22, 160, 133, 0.1);
    border: 1px solid rgba(22, 160, 133, 0.2);
    color: #16a085;
}

.tv-alert-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.tv-auth-form {
    margin-bottom: 24px;
}

.tv-form-group {
    margin-bottom: 22px;
}

.tv-form-label {
    display: block;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.tv-input-wrapper {
    position: relative;
}

.tv-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.1rem;
    z-index: 1;
}

.tv-form-input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    color: #2c3e50;
    font-size: 1rem;
    transition: all 0.2s;
}

.tv-form-input:focus {
    outline: none;
    border-color: #3498db;
    background: #ffffff;
    color: #2c3e50;
}

.tv-form-input::placeholder {
    color: #6c757d;
}

.tv-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.tv-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tv-btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

.tv-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-1px);
}

.tv-btn-block {
    width: 100%;
}

.tv-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e9ecef;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tv-auth-footer {
    text-align: center;
    margin-top: 18px;
}

.tv-auth-link {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.tv-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.tv-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .tv-auth-container {
        padding: 16px;
    }
    
    .tv-auth-logo span {
        font-size: 1.8rem;
    }
    
    .tv-auth-title {
        font-size: 1.2rem;
    }
    
    .tv-auth-card {
        padding: 32px 24px 24px 24px;
    }
} 