/* Finance Platform Auth Styles */

.finance-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.finance-auth-box {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #f1f5f9;
}

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

.finance-auth-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
}

.finance-auth-header p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

.finance-auth-form .auth-input-group {
    margin-bottom: 24px;
}

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

.finance-auth-form .auth-input-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 16px;
    transition: all 0.2s ease;
}

.finance-auth-form .auth-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    font-size: 14px;
}

.remember-me {
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-password {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

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

.finance-auth-button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.finance-auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.finance-auth-button:active {
    transform: translateY(0);
}

.finance-auth-button.secondary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2);
}

.registration-note {
    font-size: 13px;
    color: #94a3b8;
    margin: -16px 0 24px 0;
    line-height: 1.5;
}

.finance-auth-notice {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.finance-auth-notice.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.finance-auth-notice.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.finance-auth-notice.warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Multi-select dropdown styles */
.finance-dropdown-multiselect {
    position: relative;
    width: 100%;
}

.dropdown-selected {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-selected::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #64748b;
}

.dropdown-selected:hover {
    border-color: #cbd5e1;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 8px;
    display: none;
}

.dropdown-options label {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
    color: #334155;
    font-size: 15px;
    margin-bottom: 4px;
}

.dropdown-options label:last-child {
    margin-bottom: 0;
}

.dropdown-options label:hover {
    background: #f1f5f9;
}

.dropdown-options input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
}
