/* Internet Banking Login Form Styles */
.login-form {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Override the default banner form main styles */
.login-form .login-form-main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    background: transparent !important;
}

.login-form .top {
    text-align: center;
    padding: 20px 15px;
    background: hsl(var(--base));
    color: white;
    border-radius: 10px 10px 0 0;
}

.login-form .top .banking-icon {
    font-size: 30px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.2);
    width: 55px;
    height: 55px;
    line-height: 55px;
    border-radius: 50%;
    display: inline-block;
}

.login-form .top h5 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3px;
}

.login-form .top p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    margin: 0;
}

.login-form .card-form {
    padding: 20px 18px 20px;
}

/* Input field styles */
.login-input {
    border-left: none !important;
    padding: 8px 12px !important;
    height: 40px;
    font-size: 13px;
}

.login-input-icon {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-right: none;
    color: hsl(var(--base));
    padding: 0 12px;
    font-size: 14px;
}

.input-group:focus-within .login-input-icon {
    border-color: hsl(var(--base));
}

.input-group:focus-within .login-input {
    border-color: hsl(var(--base));
}

.password-toggle {
    cursor: pointer;
    border-left: none !important;
    border-right: 1px solid #dee2e6 !important;
}

/* Form check styles */
.form-check-input:checked {
    background-color: hsl(var(--base));
    border-color: hsl(var(--base));
}

.form-check-label {
    color: #6c757d;
    font-size: 13px;
}

/* Forgot password link */
.forgot-password-link {
    color: hsl(var(--base));
    font-size: 13px;
    text-decoration: none;
}

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

/* Register text */
.register-text {
    color: #6c757d;
    font-size: 13px;
    margin: 0;
}

.register-text a {
    color: hsl(var(--base));
    font-weight: 500;
    text-decoration: none;
}

.register-text a:hover {
    text-decoration: underline;
}

/* Security badge */
.security-badge {
    color: #6c757d;
    font-size: 11px;
}

.security-badge i {
    color: #28a745;
    font-size: 12px;
}

/* Button styles */
.login-btn {
    background: hsl(var(--base)) !important;
    border: none !important;
    padding: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: opacity 0.3s ease;
}

.login-btn:hover {
    opacity: 0.9;
}

/* Form labels */
.login-form label {
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Compact spacing */
.login-form .form-group {
    margin-bottom: 12px !important;
}

/* RTL Support */
.rtl .login-input-icon {
    border-right: 1px solid #dee2e6;
    border-left: none;
}

.rtl .password-toggle {
    border-right: none !important;
    border-left: 1px solid #dee2e6 !important;
}