/* Login page styles for Aps-TradeTr */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --info-color: #3b82f6;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-card h2 {
    color: var(--dark-color);
    font-weight: 700;
}

.form-label {
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
}

.input-group-text {
    background: #f8fafc;
    border-radius: 10px 0 0 10px !important;
    border: 1px solid #e2e8f0;
    border-right: none;
    color: var(--secondary-color);
}

.btn-primary {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #1d4ed8;
    border: 1px solid #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.alert {
    border-radius: 10px;
}

.alert-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.text-decoration-none {
    color: var(--primary-color);
    font-weight: 500;
}

.text-decoration-none:hover {
    color: #1d4ed8;
    text-decoration: underline !important;
}

.rounded-pill {
    border-radius: 30px !important;
}

/* Responsive */
@media (max-width: 576px) {
    .login-card {
        padding: 1.5rem;
    }
    
    body {
        padding: 10px;
    }
}