/* public/frontend/css/auth.css */
.auth-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 30, 46, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%), 
                url('/frontend/images/wedding_login_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 1100px;
}

.auth-card-wrapper {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 30, 46, 0.08);
    overflow: hidden;
    padding: 40px 30px;
}

.auth-divider {
    border-right: 1px solid rgba(139, 30, 46, 0.1);
    min-height: 100%;
}

@media (max-width: 768px) {
    .auth-divider {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        min-height: auto;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

.auth-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-title span {
    color: var(--primary-color);
}

.auth-input-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-input {
    height: 48px;
    border-radius: var(--border-radius);
    border: 1px solid #ced4da;
    padding: 10px 15px;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.2s;
}

.auth-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(237, 50, 55, 0.15);
    outline: 0;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 16px;
    cursor: pointer;
    color: var(--muted-color);
    z-index: 10;
}

.auth-btn {
    height: 48px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s;
}

.auth-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 10px rgba(237, 50, 55, 0.25);
}

.auth-btn-secondary {
    height: 48px;
    background-color: var(--success-color);
    color: #ffffff;
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius);
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s;
}

.auth-btn-secondary:hover {
    background-color: #85b351;
    border-color: #85b351;
    box-shadow: 0 4px 10px rgba(152, 202, 97, 0.25);
}

.passcode-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.passcode-wrapper input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
}

.passcode-wrapper input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(237, 50, 55, 0.15);
}

/* JQuery Validation style adjustments */
.auth-input.is-invalid, .code-box.is-invalid {
    border: 2px solid #e93b58 !important;
    background-color: #fff5f6;
}

.invalid-feedback-custom {
    display: none;
    color: #e93b58;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
}

.auth-input.is-invalid ~ .invalid-feedback-custom,
.code-box.is-invalid ~ .invalid-feedback-custom,
.form-control.is-invalid ~ .invalid-feedback-custom {
    display: block !important;
}
