﻿/* 
# OPTIMIZED AUTH CSS FOR MOITHUTI LMS
# CONSOLIDATED FROM AUTH.CSS AND RESPONSIVE-AUTH.CSS
*/

/* ====================================================================
# CORE VARIABLES AND GLOBAL SETTINGS
==================================================================== */
:root {
    /* PRIMARY COLORS */
    --primary: #1A4D94;
    /* DEEP BLUE - PRIMARY BRAND COLOR */
    --primary-dark: #0E315E;
    /* DARKER BLUE - FOR HOVER STATES */
    --primary-light: #3D7DD5;
    /* LIGHTER BLUE - FOR BACKGROUNDS AND ACCENTS */

    /* SECONDARY COLORS */
    --secondary: #FFC107;
    /* VIBRANT YELLOW - SECONDARY BRAND COLOR */
    --secondary-dark: #E5AC00;
    /* DARKER YELLOW - FOR HOVER STATES */
    --secondary-light: #FFD54F;
    /* LIGHTER YELLOW - FOR HIGHLIGHTS AND ACCENTS */

    --bg-secondary: #0b1a29;

    /* NEUTRAL COLORS */
    --neutral-dark: #2C3E50;
    /* DARK SLATE - FOR TEXT */
    --neutral-darker: #232d36;
    /* DARKEST SLATE - FOR BACKGROUNDS */
    --neutral-medium: #7F8C8D;
    /* MEDIUM GRAY - FOR SECONDARY TEXT */
    --neutral-light: #ECF0F1;
    /* LIGHT GRAY - FOR BACKGROUNDS */
    --white: #FFFFFF;
    /* WHITE - FOR BACKGROUNDS AND TEXT */

    /* SUCCESS/ERROR COLORS */
    --success: #2ECC71;
    /* GREEN - FOR SUCCESS MESSAGES */
    --error: #E74C3C;
    /* RED - FOR ERROR MESSAGES */
    --warning: #F39C12;
    /* ORANGE - FOR WARNING MESSAGES */
    --info: #3498DB;
    /* BLUE - FOR INFO MESSAGES */
}

/* ====================================================================
# LAYOUT AND STRUCTURE
==================================================================== */
body {
    font-family: 'Nunito', sans-serif;
    color: var(--neutral-dark);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* CONTENT Z-INDEX TO APPEAR ABOVE PARTICLES */
.col-lg-6 {
    position: relative;
    z-index: 1;
}

/* PARTICLES CONTAINER */
#particles-js {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* CONTENT POSITIONING ABOVE PARTICLES */
.content {
    position: relative;
    z-index: 1;
}

/* AUTH LAYOUT FOR FULL-WIDTH DESIGNS */
.auth-fullwidth {
    min-height: 100vh;
    width: 100%;
    display: flex;
    position: relative;
    z-index: 1;
}

/* IMAGE COLUMN STYLING */
.image-col {
    height: 100vh;
    position: relative;
    padding: 0;
    overflow: hidden;
}

/* CONTAINER FOR ALL IMAGES */
.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* FORM COLUMN */
.form-col {
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-y: auto;
}

/* ====================================================================
# IMAGE SYSTEM STYLES
==================================================================== */
/* BASE STYLING FOR ALL BACKGROUND IMAGES */

/* BASE CONTAINER STYLES */
.image-container.multiple-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 1.2s ease-in-out;
    transform: scale(1.05);
    will-change: opacity, transform;
}

/* MULTIPLE IMAGE PAGES (E.G., REGISTER) */
.multiple-images .bg-image {
    opacity: 0;
}

.multiple-images {
    opacity: 1;
    z-index: 1;
}

/* ACTIVE IMAGE STATE */
.bg-image.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

/* ENTERING IMAGE ANIMATION */
.bg-image

/* LEAVING IMAGE ANIMATION */
.bg-image

/* KEYFRAME ANIMATIONS FOR SMOOTH TRANSITIONS */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* OPTIMIZE FOR PERFORMANCE */
.bg-image {
    backface-visibility: hidden;
    perspective: 1000px;
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* SINGLE IMAGE PAGES (E.G., LOGIN) */
.single-image .bg-image {
    opacity: 1;
    z-index: 0;
}

/* OVERLAY FOR ALL IMAGES */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

/* ====================================================================
# LOGO STYLING
==================================================================== */
/* DESKTOP LOGO */
.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    background-color: var(--neutral-darker);
    padding: 2px 5px;
    border-radius: 0.3rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
    background-color: var(--primary-dark);
}

.logo-container a {
    display: block;
}

.logo-container img {
    width: auto;
    height: 60px;
    transition: all 0.3s ease;
}

.logo-container:hover img {
    filter: brightness(1.1);
}

/* MOBILE LOGO */
.mobile-logo-container {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--neutral-dark);
    border-radius: 14px;
}

.mobile-logo-container img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.mobile-logo-container img:hover {
    transform: scale(1.05);
}

/* ====================================================================
# FORM ELEMENTS
==================================================================== */
/* FORM STYLING */
.form-control,
.input-group-text,
.btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-right: 0 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-control {
    border-left: 0 !important;
    padding-left: 0;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-control:focus {
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.25) !important;
}

/* IMPROVED FORM ELEMENT CONTRAST FOR READABILITY */
::placeholder {
    color: rgba(44, 62, 80, 0.6) !important;
}

.form-check-label,
.text-muted {
    color: var(--neutral-dark) !important;
}

/* BOOTSTRAP FLOATING LABELS WITH GLASS EFFECT */
.form-floating .form-control.glass-input {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--neutral-dark);
    height: calc(3.5rem + 2px);
}

.form-floating .form-control.glass-input:focus {
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.form-floating .form-control.glass-input::placeholder {
    color: transparent;
}

.form-floating>label {
    color: rgba(44, 62, 80, 0.7);
    padding: 1rem 0.75rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--primary);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    opacity: 1;
}

/* PASSWORD TOGGLE BUTTON POSITIONING */
.position-relative .password-toggle {
    z-index: 5;
}

.password-toggle:hover,
.password-toggle:focus {
    background-color: transparent !important;
    box-shadow: none !important;
}

.password-toggle i {
    color: var(--neutral-medium);
}

.password-toggle:hover i {
    color: var(--primary);
}

/* ====================================================================
# BUTTON STYLING
==================================================================== */
/* STANDARD BUTTONS */
.btn-primary {
    background-color: var(--neutral-dark);
    border-color: #15407c;
}

.btn-primary:hover {
    background-color: var(--neutral-darker);
    border-color: #15407c;
}

.btn-outline-primary {
    color: var(--neutral-dark);
    border-color: var(--neutral-dark);
}

.btn-outline-primary:hover {
    background-color: var(--neutral-medium);
    border-color: var(--neutral-medium);
}

/* ROLE SWITCHER BUTTONS */
.btn-role-joined {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    border: none !important;
    flex: 1;
    min-height: 3.5rem;
}

/* First button - rounded left */
.btn-role-joined:first-child {
    border-radius: 2rem 0 0 2rem !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Last button - rounded right */
.btn-role-joined:last-child {
    border-radius: 0 2rem 2rem 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Active state - white background with neutral-dark text */

/* Default state - form container color with white text */

/* ====================================================================
# MODAL BUTTON STYLES
==================================================================== */
.btn-modal-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 2rem !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 77, 148, 0.3);
}

.btn-modal-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 77, 148, 0.4);
}

.btn-modal-primary:focus {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--white) !important;
    box-shadow: 0 0 0 0.2rem rgba(26, 77, 148, 0.25);
}

/* ====================================================================
# GLASS MORPHISM STYLES
==================================================================== */
.glass-card {
    background: rgba(11, 26, 41, 0.25);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2.7px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(11, 26, 41, 0.3);
}

.glass-input,

.glass-input:focus {
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ====================================================================
# CARD STYLING
==================================================================== */
.card {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    border: none;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.card-body {
    padding: 2rem;
}

/* ====================================================================
# SOCIAL LOGIN STYLING
==================================================================== */
.social-login {
    margin-bottom: 1.5rem;
}

.divider-text {
    position: relative;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
    font-size: 0.875rem;
}

.divider-text:before,
.divider-text:after {
    content: "";
    position: absolute;
    height: 1px;
    width: calc(50% - 60px);
    background-color: rgba(255, 255, 255, 0.3);
    top: 50%;
}

.divider-text:before {
    left: 0;
}

.divider-text:after {
    right: 0;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.glass-social {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-social i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-google {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--neutral-dark);
}

.btn-google:hover {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ====================================================================
# RESPONSIVE STYLES
==================================================================== */
/* LARGE SCREENS (DESKTOPS) */
@media (min-width: 992px) {
    body {
        overflow-y: hidden;
        /* PREVENT SCROLLING ON DESKTOP */
    }

    .image-container {
        display: block;
    }

    .mobile-logo-container {
        display: none;
    }

    /* ADJUST DESKTOP LOGO FOR MEDIUM-LARGE SCREENS */
    @media (max-width: 1199.98px) {
        .logo-container {
            top: 10px;
            left: 10px;
        }

        .logo-container img {
            height: 50px;
        }
    }

    /* VERTICALLY CENTER IMAGE ON TABLETS */
    @media (max-width: 1199.98px) {
        .image-container {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .bg-image {
            object-position: center;
        }
    }
}

/* MEDIUM SCREENS (TABLETS) */
@media (min-width: 768px) and (max-width: 991.98px) {
    body {
        overflow-y: auto;
    }

    .container {
        max-width: 96%;
    }

    .auth-container {
        max-width: 90%;
    }

    .card-body {
        padding: 1.5rem;
    }

    .form-control,
    .input-group-text,
    .btn {
        padding: 0.65rem 0.9rem;
    }

    .image-container {
        display: none;
    }

    .mobile-logo-container {
        display: block;
    }

    /* OPTIMIZE PARTICLES FOR TABLETS */
    #particles-js {
        opacity: 0.7;
    }

    /* BETTER GLASS EFFECTS FOR TABLETS */
    .glass-card {
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
}

/* SMALL SCREENS (PHONES) */
@media (max-width: 767.98px) {
    body {
        overflow-y: auto;
    }

    .image-container {
        display: none;
    }

    .mobile-logo-container {
        display: block;
    }

    .form-control,
    .input-group-text,
    .btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }

    .btn-social {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }

    /* OPTIMIZE PARTICLES FOR MOBILE */
    #particles-js {
        opacity: 0.6;
    }

    /* BETTER GLASS EFFECTS FOR MOBILE */
    .glass-card {
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .glass-input {
        background: rgba(255, 255, 255, 0.65) !important;
    }

    /* ADJUST SPACING FOR SMALL SCREENS */
    .card-body {
        padding: 1.5rem;
    }

    .form-group,
    .mb-3,
    .mb-4 {
        margin-bottom: 1rem !important;
    }

    /* BETTER SOCIAL LOGIN ON SMALL SCREENS */
    .social-login {
        margin-top: 1.5rem;
    }

    .btn-social {
        margin-bottom: 0.75rem;
    }

    .divider-text:before,
    .divider-text:after {
        width: calc(50% - 50px);
    }

    /* ADJUST PROGRESS BAR FOR MOBILE */
    #nprogress 

    /* STACK NAME FIELDS ON SMALL SCREENS */
    .w-100.d-flex.flex-row {
        flex-direction: column !important;
    }

    .w-100.d-flex.flex-row .w-50 {
        width: 100% !important;
        margin-bottom: 0.5rem;
    }

    /* SIGNUP BUTTONS ADJUSTMENTS */
    .signup-selection .btn {
        font-size: 0.9rem !important;
        padding: 0.6rem 0.75rem;
    }

    .signup-selection .btn-group {
        flex-direction: column;
    }

    .signup-selection .btn {
        border-radius: 0.375rem !important;
        margin-bottom: 0.5rem;
    }

    /* FORM FIELD ACCESSIBILITY IMPROVEMENTS */
    .form-check-label {
        font-size: 0.9rem;
    }

    .form-check-input {
        width: 1.1em;
        height: 1.1em;
        margin-top: 0.2em;
    }
}

/* LANDSCAPE MODE ON MOBILE DEVICES */
@media (max-height: 500px) and (orientation: landscape) {
    .form-col {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    /* COMPACT VERTICAL SPACING */
    .form-group,
    .mb-3,
    .mb-4 {
        margin-bottom: 0.5rem !important;
    }

    .signup-selection.mb-4 {
        margin-bottom: 0.75rem !important;
    }
}

/* ====================================================================
# LOGO STYLING
==================================================================== */
/* OTP Input Styles */

.otp-digit {
    transition: all 0.2s ease;
}

.otp-digit input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(26, 77, 148, 0.2);
}

.otp-digit input {
    width: 45px;
    height: 50px;
    font-size: 1.25rem;
    color: var(--neutral-dark);
}

/* Forgot Password Modal Styles */

.cursor-pointer {
    cursor: pointer;
}

/* Fix for error text */
.text-red-500 {
    color: var(--error) !important;
}

/* OVERRIDE BOOTSTRAP BG-WHITE CLASS FOR GLASS EFFECT */
.bg-white {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* FORCE GLASS EFFECT ON LOGIN PAGE INPUT GROUPS */
.input-group-text.bg-white,
.input-group .bg-white {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* FORCE GLASS EFFECT ON LOGIN PAGE FORM CONTROLS */
.form-control[style*="background: var(--input-bg)"] {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* FORCE GLASS EFFECT ON LOGIN PAGE BUTTONS */
.btn.bg-white {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* LOGIN PAGE SPECIFIC STYLES */
.form-label {
    color: white !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* INPUT GROUP STYLES */
.input-group.rounded-pill {
    border-radius: 50rem !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: none !important;
    color: white !important;
    font-weight: bold !important;
    padding: 0.75rem 1rem !important;
    border-radius: 50rem 0 0 50rem !important;
}

.input-group .form-control {
    background: transparent !important;
    border: none !important;
    color: white !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0 !important;
}

.input-group .form-control:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: white !important;
}

.input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.input-group .btn {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: none !important;
    color: white !important;
    font-weight: bold !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0 50rem 50rem 0 !important;
}

.input-group .btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
}

.input-group .lucide {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 3;
    color: white !important;
}

/* PASSWORD FIELD COMPONENT STYLES */
.password-toggle {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: none !important;
    border-radius: 50% !important;
    color: white !important;
    font-weight: bold !important;
    z-index: 5;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
}

.password-toggle i {
    color: white !important;
    font-weight: bold !important;
}

/* ALERT STYLING FOR AUTH PAGES */
.alert {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.75rem !important;
    color: white !important;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2) !important;
    border-color: rgba(220, 53, 69, 0.4) !important;
}

.alert-heading {
    color: white !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.alert-body p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0 !important;
}

.alert .btn-close {
    filter: invert(1) !important;
    opacity: 0.8 !important;
}

.alert .btn-close:hover {
    opacity: 1 !important;
}

.alert .lucide {
    color: white !important;
    stroke-width: 2 !important;
}

/* ALERT VIBRATION ANIMATION */
@keyframes vibrate {
    0% { transform: translateX(0); }
    10% { transform: translateX(-2px) rotate(-1deg); }
    20% { transform: translateX(2px) rotate(1deg); }
    30% { transform: translateX(-2px) rotate(-1deg); }
    40% { transform: translateX(2px) rotate(1deg); }
    50% { transform: translateX(-1px) rotate(-0.5deg); }
    60% { transform: translateX(1px) rotate(0.5deg); }
    70% { transform: translateX(-1px) rotate(-0.5deg); }
    80% { transform: translateX(1px) rotate(0.5deg); }
    90% { transform: translateX(-0.5px) rotate(-0.25deg); }
    100% { transform: translateX(0) rotate(0); }
}

.alert-vibrate {
    animation: vibrate 0.6s ease-in-out;
}

.form-check-label {
    color: white !important;
    font-weight: 500;
}

.btn-primary {
    background-color: white !important;
    border-color: white !important;
    color: var(--neutral-dark) !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75rem 2rem !important;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--neutral-dark) !important;
}
