/* Auth Pages Shared Styles */

.bg-fade-top {
    background: url("../images/bgs/auth-bg-v2.webp") top / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.auth-section .auth-card {
    padding: 1.5rem;
    background: #1e2730dd;
    border-radius: 8px;
}

.light .auth-section .auth-card {
    background: var(--color-dark-grey);
}

.auth-section .auth-header {
    position: relative;
}

.auth-section .auth-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

.auth-section .form-group {
    margin-bottom: 1rem;
    max-width: 100%;
    overflow: visible;
}

.auth-section .form-group label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.auth-section .form-group label.required::after {
    content: " *";
    color: var(--color-red-theme);
}

.auth-section .auth-actions {
    font-size: 0.875rem;
}

.auth-section .forgot-link {
    opacity: 1;
    transition: all 200ms ease;
}

.auth-section .forgot-link:hover {
    opacity: 0.8;
}

.auth-section .auth-link {
    color: var(--color-gold-theme);
    font-weight: 600;
    transition: all 200ms ease-in-out;
    opacity: 1;
}

.auth-section .auth-link:hover {
    opacity: 0.8;
}

.auth-section .input-group {
    position: relative;
}

.auth-section .btn-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #6c757d;
    z-index: 5;
}

.auth-section .btn-password-toggle:hover {
    color: var(--color-gold-theme);
}

.auth-section input.error {
    border-color: var(--color-red-theme);
}

.auth-section .select2-container {
    max-width: 100%;
}

.auth-section .text-muted {
    color: #6c757d;
}

@media (min-width: 992px) {
    .auth-section .auth-card {
        padding: 1.5rem 2rem;
    }
}
