/**
 * Wallet Up Login Customizer CSS - REIMAGINED UI (Glassmorphism)
 * Styles for the frontend login page
 * Version: 2.3.5 (Updated Declarations Only)
 */

:root {
    /* NEW VIBRANT ELECTRIC COLORS */
    --wallet-up-lc-primary: #653381;
    /* Blue Violet */
    --wallet-up-lc-primary-dark: #6A1AAB;
    --wallet-up-lc-primary-light: #E0E0FF;
    --wallet-up-lc-primary-gradient: linear-gradient(90deg, #a54777 0%, #56bbc8 100%);
    /* Magenta to Cyan */
    --wallet-up-lc-secondary: #56bbc8;
    /* Cyan */
    --wallet-up-lc-accent: #a54777;
    /* Magenta */
    --wallet-up-lc-success: #00B894;
    --wallet-up-lc-error: #FF4757;
    --wallet-up-lc-warning: #FFC048;
    --wallet-up-lc-info: #00A8FF;
    --wallet-up-lc-text-dark: #FFFFFF;
    /* White for dark theme contrast */
    --wallet-up-lc-text-medium: #E0E0E0;
    /* Light gray */
    --wallet-up-lc-text-light: #CCCCCC;
    --wallet-up-lc-border: rgba(255, 255, 255, 0.2);
    /* Transparent white for glass borders */
    --wallet-up-lc-border-light: rgba(255, 255, 255, 0.1);
    --wallet-up-lc-bg-light: rgba(255, 255, 255, 0.1);
    /* Light glass background */
    --wallet-up-lc-bg-lighter: rgba(255, 255, 255, 0.2);
    --wallet-up-lc-shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.1);
    --wallet-up-lc-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --wallet-up-lc-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --wallet-up-lc-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    --wallet-up-lc-shadow-primary: 0 0 20px rgba(165, 71, 119, 0.5), 0 0 30px rgba(66, 187, 200, 0.3);
    /* Neon glow */
    --wallet-up-lc-transition-fast: 0.15s ease;
    --wallet-up-lc-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --wallet-up-lc-transition-slow: 0.5s ease;
    --wallet-up-lc-radius-sm: 8px;
    --wallet-up-lc-radius: 20px;
    --wallet-up-lc-radius-lg: 30px;
    --wallet-up-lc-spacing: 24px;
}

html {
    height: 100%;
    font-size: 16px;
}

body.login {
    /* VIBRANT BACKGROUND */
    background: linear-gradient(135deg, #653381 0%, #a54777 30%, #56bbc8 70%, #59c0ca 100%);
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    padding-top: 80px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--wallet-up-lc-text-dark);
    overflow-x: hidden;
    position: relative;
    animation: fadeIn 0.6s ease-in-out;
    /* Apply Glassmorphism Base */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#wallet-up-lc-interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    /* BACKGROUND IS NOW IN BODY.LOGIN, this is just for interactive elements */
}

.animated-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    /* Increased opacity for effect */
    filter: blur(100px);
    /* Stronger blur for smoother light blobs */
}

.shape-1 {
    background: rgba(165, 71, 119, 0.6);
    /* Magenta glow */
    width: 600px;
    height: 600px;
    top: 5%;
    left: 5%;
    animation: floatAnimation 15s ease-in-out infinite alternate;
}

.shape-2 {
    background: rgba(0, 255, 255, 0.5);
    /* Cyan glow */
    width: 700px;
    height: 700px;
    bottom: 5%;
    right: 5%;
    animation: floatAnimation 20s ease-in-out infinite alternate-reverse;
}

.shape-3 {
    background: rgba(138, 43, 226, 0.4);
    /* Blue Violet glow */
    width: 400px;
    height: 400px;
    bottom: 20%;
    left: 30%;
    animation: floatAnimation 12s ease-in-out infinite alternate;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

#wallet-up-lc-floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Changed to circle */
    background: rgba(255, 255, 255, 0.1);
    /* Subtle transparency */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    animation: floatingShapes 25s linear infinite;
}

.floating-shape:nth-child(1) {
    top: 15%;
    left: 10%;
    width: 40px;
    height: 40px;
    animation-duration: 18s;
    animation-delay: 0s;
    opacity: 0.8;
}

.floating-shape:nth-child(2) {
    top: 70%;
    left: 15%;
    width: 55px;
    height: 55px;
    animation-duration: 30s;
    animation-delay: 3s;
    opacity: 0.6;
}

.floating-shape:nth-child(3) {
    top: 30%;
    right: 10%;
    width: 35px;
    height: 35px;
    animation-duration: 22s;
    animation-delay: 1.5s;
    opacity: 0.7;
}

.floating-shape:nth-child(4) {
    top: 60%;
    right: 15%;
    width: 45px;
    height: 45px;
    animation-duration: 27s;
    animation-delay: 4.5s;
    opacity: 0.9;
}

.floating-shape:nth-child(5) {
    top: 40%;
    left: 50%;
    width: 30px;
    height: 30px;
    animation-duration: 25s;
    animation-delay: 6s;
    opacity: 0.5;
}

@keyframes floatingShapes {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-60px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

#login {
    width: 580px;
    /* Slightly wider form area */
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
    /* Remove top/bottom padding here, it's in the form */
    position: relative;
    z-index: 10;
    /* Increased z-index */
}

.login h1 {
    display: none;
}

.wallet-up-login-customizer-logo-link {
    display: block;
    text-decoration: none;
    margin-bottom: 40px;
    /* Increased margin */
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.wallet-up-login-customizer-logo-link:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* ADJUSTED: Specific padding for the 2FA code input to center the text since it has no icon */
input#wallet_up_lc_2fa_code {
    padding: 15px 20px !important;
    text-align: center;
    font-weight: 600;
    letter-spacing: 2px;
}

.wallet-up-login-customizer-logo-link:hover .wallet-up-login-customizer-logo,
.wallet-up-login-customizer-logo-link:focus .wallet-up-login-customizer-logo {
    opacity: 1;
    transform: scale(1.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 0 10px rgba(165, 71, 119, 0.8));
    /* Logo glow */
}

.wallet-up-login-customizer-logo {
    background-image: url('../../img/walletup-icon-white.png');
    /* Assumes a white icon for dark background */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60px;
    /* Larger logo */
    height: 60px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.login h1::after {
    content: "Wallet Up Security";
    /* Updated text */
    display: block;
    text-align: center;
    font-size: 28px;
    font-weight: 200;
    /* Thinner font */
    margin: 30px 0 0;
    padding-top: 10px;
    position: relative;
    z-index: 5;
    background: white;
    /* White text for contrast */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.login h1 span,
.login h1 div {
    display: none;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#loginform,
#lostpasswordform,
#registerform {
    /* background: rgba(255, 255, 255, 0.1); */
    /* Transparent glass background */
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    /* Lighter border */
    border-radius: var(--wallet-up-lc-radius-lg);
    /* box-shadow:
        0 0 30px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 255, 255, 0.1) inset; */
    /* Inner light effect */
    padding: 50px 40px;
    /* More padding */
    position: relative;
    margin-top: 0;
    backdrop-filter: blur(20px);
    /* Stronger blur for glass */
    -webkit-backdrop-filter: blur(20px);
    animation: formAppear 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform: translateY(40px);
    opacity: 0;
    overflow: visible;
    min-width: 360px;
    max-width: 100%;
    box-sizing: border-box;
}

@keyframes formAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wallet-up-lc-form-title {
    margin: 0 0 35px;
    padding: 0;
    font-size: 24px;
    font-weight: 400;
    /* Lighter weight */
    color: var(--wallet-up-lc-text-dark);
    text-align: center;
    position: relative;
    letter-spacing: 1px;
}

.wallet-up-lc-form-title::after {
    content: "";
    display: block;
    width: 60px;
    /* Longer separator */
    height: 2px;
    background: var(--wallet-up-lc-primary-gradient);
    margin: 15px auto 0;
    border-radius: 1px;
    box-shadow: 0 0 8px #a54777;
    /* Subtle line glow */
}

#loginform,
#lostpasswordform,
#registerform {
    /* background: rgba(255, 255, 255, 0.1); */
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    /* border-radius: 30px; */
    /* box-shadow:
        0 0 30px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 255, 255, 0.1) inset; */
    padding: 50px 40px;
    position: relative;
    margin-top: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: formAppear 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform: translateY(40px);
    opacity: 0;
    overflow: visible;
    min-width: 360px;
    max-width: 100%;
    box-sizing: border-box;
}

@keyframes formAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.user-login-wrap,
.user-pass-wrap,
/* ADDED: General email input wrapper (often used in registration/lost password) */
.user-email-wrap {
    position: relative;
    margin-bottom: 40px;
    /* Slightly less margin */
    box-sizing: border-box;
    width: 100%;
}
#wp-submit,
.login #wp-submit,
.login .button-primary,
.wallet-up-login-customizer-button {
    background: var(--wallet-up-lc-gradient) !important;
    
    /* 1. CRITICAL ADDITION: Solid White Border */
    border: 3px solid white !important; /* Adding a visible white border */
    
    /* 2. Adjusted Box-Shadow for Neon Border Effect */
    box-shadow: 
        /* Base Shadow (Soft Lift) - Must be included */
        0 8px 16px rgba(198, 198, 198, 0.2), 
        
        /* Inner Neon Glow (Sits right next to the white border) */
        0 0 10px 1px rgba(184, 61, 255, 0.8), 
        
        /* Outer Neon Bloom (Diffuse light) */
        0 0 30px 5px rgba(184, 61, 255, 0.3)
        !important; 
    
    /* Ensure padding is consistent after adding the border width */
    padding: 13px 13px !important; /* Adjusted padding down from 16px to compensate for 3px border */

    border-radius: 50px; 
}
.login input[type=text],
.login input[type=password],
/* ADDED: Include email inputs for general styling */
.login input[type=email] {
    width: 100%;
    height: 55px;
    /* Taller fields */
    /* ADJUSTED: Increased left padding for icon */
    padding: 15px 20px 15px 50px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid var(--wallet-up-lc-border);
    border-radius: 5px;
    /* More rounded */
    background-color: rgba(255, 255, 255, 0.1);
    /* Transparent glass input */
    color: white;
    /* White text */
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
    box-shadow: var(--wallet-up-lc-shadow-sm);
    margin: 0;
    position: relative;
    z-index: 1;
}

.login input[type=text]:focus,
.login input[type=password]:focus,
/* ADDED: Include email inputs for focus styling */
.login input[type=email]:focus {
    border-color: #56bbc8;
    /* Cyan focus */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    /* Cyan glow shadow */
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.user-login-wrap::before {
    content: "";
    position: absolute;
    left: 18px;
    /* Adjusted icon position */
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    /* White User Icon */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'></path><circle cx='12' cy='7' r='4'></circle></svg>");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}

/* ADDED: Email icon styling (often shares the same wrapper as user-login in registration/lost password) */
.user-email-wrap::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    /* White Email Icon */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'></path><polyline points='22,6 12,13 2,6'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}

.user-pass-wrap::before {
    content: "";
    position: absolute;
    left: 18px;
    /* Adjusted icon position */
    top: 60%;
    /* Adjusted for animated label */
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    /* White Lock Icon */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='11' width='18' height='11' rx='2' ry='2'></rect><path d='M7 11V7a5 5 0 0 1 10 0v4'></path></svg>");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}

.wallet-up-lc-animated-label {
    position: absolute;
    left: 50px;
    /* Adjusted label position */
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    /* Larger font */
    color: var(--wallet-up-lc-text-medium);
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 2;
    background: transparent;
    padding: 0 4px;
}

/* UPDATED: Added .user-email-wrap to ensure animated label works on registration/lost password forms */
.user-login-wrap.is-focused .wallet-up-lc-animated-label,
.user-login-wrap.has-value .wallet-up-lc-animated-label,
.user-email-wrap.is-focused .wallet-up-lc-animated-label,
.user-email-wrap.has-value .wallet-up-lc-animated-label {
    top: 10px;
    /* New top position */
    left: 47px;
    font-size: 13px;
    /* Slightly smaller */
    color: #56bbc8;
    /* Cyan on focus */
    transform: translateY(0);
    background: rgba(138, 43, 226, 0.5);
    /* Transparent background for better contrast */
    border-radius: 4px;
}

.user-pass-wrap .wallet-up-lc-animated-label {
    position: absolute;
    left: 50px;
    top: 60%;
    /* Adjusted for new input height */
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--wallet-up-lc-text-medium);
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 2;
    background: transparent;
    padding: 0 4px;
}

.user-pass-wrap.is-focused .wallet-up-lc-animated-label,
.user-pass-wrap.has-value .wallet-up-lc-animated-label {
    top: 26px !important;
    /* New top position */
    left: 47px;
    font-size: 13px;
    color: #56bbc8;
    transform: translateY(0);
    background: rgba(138, 43, 226, 0.5);
    border-radius: 4px;
}

.login input[type=text],
.login input[type=password],
/* ADDED: Include email inputs for padding uniformity */
.login input[type=email] {
    width: 100%;
    height: 55px;
    padding: 15px 20px 15px 50px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid var(--wallet-up-lc-border);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
    box-shadow: var(--wallet-up-lc-shadow-sm);
    margin: 0;
    position: relative;
    z-index: 1;
}

.login input[type=text]:focus,
.login input[type=password]:focus,
/* ADDED: Include email inputs for focus uniformity */
.login input[type=email]:focus {
    border-color: #56bbc8;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
}

/* UPDATED: Included email input selector to ensure padding is correct for animated label */
.has-animated-label input[type=text],
.has-animated-label input[type=password],
.has-animated-label input[type=email] {
    padding-top: 28px !important;
    /* Adjusted for taller field */
    padding-bottom: 10px !important;
}

/* UPDATED: Included email input selector for redundancy/compatibility */
.has-animated-label input[type=text],
.has-animated-label input[type=password],
.has-animated-label input[type=email] {
    padding-top: 28px !important;
    padding-bottom: 10px !important;
}

@media screen and (max-width: 480px) {
    #login {
        width: 100%;
        padding: 20px;
    }

    #loginform,
    #lostpasswordform,
    #registerform {
        padding: 40px 25px;
    }

    .login h1 a {
        height: 80px;
    }

    .login h1::after {
        font-size: 24px;
    }

    .footer-content {
        padding: 8px 18px;
    }

    .wallet-up-lc-animated-label {
        left: 42px;
        font-size: 15px;
    }

    .login input[type=text],
    .login input[type=password],
    .login input[type=email] {
        height: 50px;
        padding: 25px 44px 10px 42px;
    }

    .has-animated-label input {
        padding-top: 25px !important;
        padding-bottom: 8px !important;
    }

    .user-login-wrap::before,
    .user-pass-wrap::before,
    .user-email-wrap::before {
        left: 14px;
        width: 18px;
        height: 18px;
    }

    .button.wp-hide-pw {
        right: 14px;
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .input-field-state {
        right: 14px;
        width: 20px;
        height: 20px;
    }

    .user-pass-wrap .input-field-state {
        right: 48px;
    }
}

.button.wp-hide-pw {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--wallet-up-lc-text-light);
    padding: 0;
    width: 35px;
    height: 35px;
    min-width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
}

.button.wp-hide-pw:hover,
.button.wp-hide-pw:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #a54777;
    /* Magenta on hover */
}

.button.wp-hide-pw .dashicons {
    width: 28px;
    height: 28px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-pwd {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.wallet-up-lc-input-message {
    font-size: 13px;
    margin: 8px 0 0 0;
    padding: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

/** CUSTOM */
.privacy-policy-page-link,
.privacy-policy-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    transition: all var(--wallet-up-lc-transition-fast);
}

.wallet-up-lc-input-message.error {
    color: var(--wallet-up-lc-error);
    filter: drop-shadow(0 0 5px rgba(255, 71, 87, 0.5));
}

.wallet-up-lc-input-message.success {
    color: var(--wallet-up-lc-success);
    filter: drop-shadow(0 0 5px rgba(0, 184, 148, 0.5));
}

.wallet-up-lc-input-message.info {
    color: var(--wallet-up-lc-info);
    filter: drop-shadow(0 0 5px rgba(0, 168, 255, 0.5));
}

.wallet-up-lc-input-message.warning {
    filter: drop-shadow(0 0 5px rgba(255, 192, 72, 0.5));
}

.wallet-up-lc-input-message svg {
    margin-right: 8px;
    flex-shrink: 0;
}

@keyframes messageAppear {
    to {
        max-height: 40px;
    }
}

.forgetmenot {
    margin-bottom: 30px;
    /* Increased margin */
    margin-left: 0;
    display: flex;
    align-items: center;
}

.forgetmenot label {
    display: flex;
    align-items: center;
    color: var(--wallet-up-lc-text-medium);
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
}

.forgetmenot input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--wallet-up-lc-border);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    appearance: none;
    cursor: pointer;
    position: relative;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.forgetmenot input[type="checkbox"]:checked {
    background: var(--wallet-up-lc-primary-gradient);
    border-color: #56bbc8;
    /* Cyan border */
}

.forgetmenot input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.forgetmenot input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.3);
    /* Cyan focus ring */
}

#wp-submit,
.login .button-primary,
.wallet-up-login-customizer-button {
    background: var(--wallet-up-lc-primary-gradient);
    border: none;
    border-radius: 30px;
    /* Pill shape */
    color: white;
    text-shadow: none;
    box-shadow: var(--wallet-up-lc-shadow-primary);
    /* Neon glow */
    padding: 16px 20px;
    height: auto;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    margin-top: 20px;
    text-transform: none;
    position: relative;
    overflow: hidden;
    display: block;
    cursor: pointer;
    animation: button-pulse 3s infinite;
    /* Slower pulse */
}

#wp-submit:disabled,
.login .button-primary:disabled {
    background: #6B7280;
    box-shadow: none;
    cursor: not-allowed;
    color: #CCCCCC;
    animation: none;
}

.login .button-primary.is-loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.login .button-primary.is-loading::after {
    content: "";
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: buttonLoader 0.6s linear infinite;
    /* Faster loader */
}

.login .button-primary.is-success {
    background: var(--wallet-up-lc-success);
    pointer-events: none;
    position: relative;
    color: transparent;
}

.login .button-primary.is-success::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
}

#wp-submit:disabled.is-loading,
.login .button-primary:disabled.is-loading {
    background: #6B7280;
    color: transparent;
}

#wp-submit:disabled.is-success,
.login .button-primary:disabled.is-success {
    background: var(--wallet-up-lc-success);
    color: transparent;
}

.login .button-primary:hover {
    transform: translateY(-3px);
    /* Deeper lift */
    box-shadow:
        0 0 30px rgba(165, 71, 119, 0.8),
        0 0 40px rgba(0, 255, 255, 0.6);
}

.login .button-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(165, 71, 119, 0.4);
}

@keyframes button-pulse {
    0% {
        box-shadow: 0 0 15px rgba(165, 71, 119, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(165, 71, 119, 0.8), 0 0 35px rgba(0, 255, 255, 0.6);
    }

    100% {
        box-shadow: 0 0 15px rgba(165, 71, 119, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    }
}

.login .button-primary.is-loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.login .button-primary.is-loading::after {
    content: "";
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: buttonLoader 0.6s linear infinite;
}

@keyframes buttonLoader {
    to {
        transform: rotate(360deg);
    }
}

.login .button-primary.is-success {
    background: var(--wallet-up-lc-success);
    pointer-events: none;
    position: relative;
    color: transparent;
}

.login .button-primary.is-success::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
}

#login_error,
.message,
.success,
.wallet-up-lc-alert {
    /* background-color: rgba(255, 255, 255, 0.15); */
    /* Light Glass Alert */
    /* border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-radius: var(--wallet-up-lc-radius);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 255, 255, 0.1) inset;
    padding: 20px; */
    margin-bottom: 30px;
    font-size: 15px;
    color: var(--wallet-up-lc-text-dark);
    animation: alertAppear 0.5s ease-out forwards;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); */
}
.wallet-up-lc-2fa-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--wallet-up-lc-text-light) !important;
}
.wallet-up-lc-2fa-field .description {
    display: block;
    margin-top: 8px;
    font-size: 0.8em !important;
    color: #e4e0e0 !important;
}

.wallet-up-lc-2fa-field input::placeholder {
    color: var(--wallet-up-lc-text-light) !important;
    opacity: 1; /* This is important for Firefox which sets a lower opacity by default */
}

.wallet-up-lc-2fa-field input::-webkit-input-placeholder {
    color: var(--wallet-up-lc-text-light) !important;
}

.wallet-up-lc-2fa-field input::-moz-placeholder {
    color: var(--wallet-up-lc-text-light) !important;
    opacity: 1; /* Override default Firefox opacity */
}

.wallet-up-lc-2fa-field input:-ms-input-placeholder {
    color: var(--wallet-up-lc-text-light) !important;
}

.wallet-up-lc-2fa-field input::-ms-input-placeholder {
    color: var(--wallet-up-lc-text-light) !important;
}

.wallet-up-lc-alert.error,
#login_error {
    background-color: rgba(255, 71, 87, 0.2);
    border: 1px solid rgba(255, 71, 87, 0.5);
    color: #FFEEEE;
    /* Very light red text */
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.wallet-up-lc-alert.success,
.message.updated {
    background-color: rgba(0, 184, 148, 0.2);
    border: 1px solid rgba(0, 184, 148, 0.5);
    color: #E6FFF9;
    /* Very light green text */
    box-shadow: 0 0 10px rgba(0, 184, 148, 0.5);
}

.wallet-up-lc-alert.info,
.message:not(.updated):not(.error) {
    background-color: rgba(0, 168, 255, 0.2);
    border: 1px solid rgba(0, 168, 255, 0.5);
    color: #E6F8FF;
    /* Very light blue text */
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

.wallet-up-lc-alert.warning {
    background-color: rgba(255, 192, 72, 0.2);
    border: 1px solid rgba(255, 192, 72, 0.5);
    color: #FFF8E6;
    /* Very light yellow text */
    box-shadow: 0 0 10px rgba(255, 192, 72, 0.5);
}

.wallet-up-lc-alert-icon {
    flex-shrink: 0;
    margin-right: 15px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.wallet-up-lc-alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--wallet-up-lc-text-medium);
    transition: color var(--wallet-up-lc-transition-fast);
}

.wallet-up-lc-alert-close:hover {
    color: #a54777;
}

@keyframes alertAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login #nav,
.login #backtoblog {
    margin: 30px 0 0;
    padding: 0;
    text-align: center;
    font-size: 15px;
}

.login #nav a,
.login #backtoblog a {
    color: var(--wallet-up-lc-text-light);
    transition: all var(--wallet-up-lc-transition-fast);
    text-decoration: none;
    border-radius: 12px;
    padding: 8px 16px;
    display: inline-block;
    margin: 6px;
    background: rgba(255, 255, 255, 0.1);
    /* Glass link background */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #56bbc8;
    /* Cyan on hover */
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.login #nav a:active,
.login #backtoblog a:active {
    transform: translateY(0);
}

.login #backtoblog a svg {
    vertical-align: middle;
    margin-right: 8px;
    flex-shrink: 0;
}

.login #backtoblog a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    color: var(--wallet-up-lc-text-light);
    transition: all var(--wallet-up-lc-transition-fast);
    text-decoration: none;
    border-radius: 12px;
    margin: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login #backtoblog a:hover {
    color: #56bbc8;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.login #backtoblog a:active {
    transform: translateY(0);
}

#wallet-up-login-customizer-footer {
    margin-top: 50px;
    text-align: center;
    padding: 0;
    /* No need for padding here */
}

.footer-content {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    /* Glass footer */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 10px 25px;
}

.footer-logo {
    color: #a54777;
    /* Magenta logo */
    margin-right: 15px;
}

.footer-logo img {
    display: block;
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 5px #a54777);
}

.footer-text {
    font-size: 13px;
    color: var(--wallet-up-lc-text-medium);
    text-align: left;
}

.footer-text p {
    margin: 0;
    line-height: 1.4;
}

.footer-text .copyright {
    font-size: 12px;
    color: var(--wallet-up-lc-text-light);
}

.wallet-up-lc-action-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    /* Darker overlay for focus */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.wallet-up-lc-action-screen.active {
    opacity: 1;
    visibility: visible;
}

.action-screen-content {
    text-align: center;
    max-width: 380px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.1);
    /* Glass modal */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--wallet-up-lc-radius-lg);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(165, 71, 119, 0.3);
    /* Neon shadow */
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
    position: relative;
    z-index: 10000;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.wallet-up-lc-action-screen.active .action-screen-content {
    transform: translateY(0);
    opacity: 1;
}

.action-screen-icon {
    width: 100px;
    /* Larger icon */
    height: 100px;
    margin: 0 auto 25px;
    position: relative;
    filter: drop-shadow(0 0 10px #a54777);
}

.action-screen-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--wallet-up-lc-text-dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.action-screen-message {
    font-size: 16px;
    color: var(--wallet-up-lc-text-medium);
    margin-bottom: 30px;
    line-height: 1.6;
}

.action-loading-spinner {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #a54777;
    border-right-color: #56bbc8;
    border-radius: 50%;
    animation: action-spinner 1s linear infinite;
    box-shadow: 0 0 10px #a54777;
}

@keyframes action-spinner {
    to {
        transform: rotate(360deg);
    }
}

.action-progress {
    width: 100%;
    height: 8px;
    /* Thicker bar */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 25px 0;
}

.action-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #a54777, #56bbc8);
    /* Matching neon gradient */
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 10px;
    box-shadow: 0 0 10px #56bbc8;
}

.action-success-icon {
    stroke-dasharray: 100;
    /* Increased dash array */
    stroke-dashoffset: 100;
    animation: draw-check 1s ease forwards;
    /* Slower animation */
}

@keyframes draw-check {
    to {
        stroke-dashoffset: 0;
    }
}

.action-error-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    position: relative;
    filter: drop-shadow(0 0 10px var(--wallet-up-lc-error));
}

.action-error-icon::before,
.action-error-icon::after {
    content: '';
    position: absolute;
    width: 6px;
    /* Thicker lines */
    height: 40px;
    background-color: var(--wallet-up-lc-error);
    border-radius: 3px;
    top: 15px;
    left: 32px;
}

.action-error-icon::before {
    transform: rotate(45deg);
    animation: draw-line 0.5s ease forwards;
}

.action-error-icon::after {
    transform: rotate(-45deg);
    animation: draw-line 0.5s ease 0.3s forwards;
}

@keyframes draw-line {
    from {
        height: 0;
        top: 35px;
    }

    to {
        height: 40px;
        top: 15px;
    }
}

.action-screen-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--wallet-up-lc-primary-gradient);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--wallet-up-lc-shadow-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 20px;
}

.action-screen-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(165, 71, 119, 0.8), 0 0 40px rgba(0, 255, 255, 0.6);
}

.action-screen-button:active {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(165, 71, 119, 0.4);
}

.input-field-state {
    position: absolute;
    top: 50%;
    right: 15px !important;
    /* Moved slightly inside */
    transform: translateY(-50%) !important;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
    color: var(--wallet-up-lc-text-light);
}

.user-pass-wrap .input-field-state {
    position: absolute;
    top: 68% !important;
    /* Adjusted for taller field */
    right: 15px !important;
    transform: translateY(-50%) !important;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
    color: var(--wallet-up-lc-text-light);
}

/* ADDED: Email input field state positioning */
.user-email-wrap .input-field-state {
    position: absolute;
    top: 50% !important;
    right: 15px !important;
    transform: translateY(-50%) !important;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
    color: var(--wallet-up-lc-text-light);
}

.has-success .input-field-state.success {
    display: flex;
    color: var(--wallet-up-lc-success);
    filter: drop-shadow(0 0 5px var(--wallet-up-lc-success));
    z-index: 10;
}

.has-error .input-field-state.error {
    display: flex;
    color: var(--wallet-up-lc-error);
    filter: drop-shadow(0 0 5px var(--wallet-up-lc-error));
    z-index: 10;

}

.is-validating .input-field-state.loading {
    display: flex;
    animation: rotate 1s linear infinite;
    color: #a54777;
    z-index: 10;

}

@keyframes rotate {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.user-login-wrap::after,
.user-pass-wrap::after,
/* ADDED: Email input focus line */
.user-email-wrap::after {
    content: "";
    position: absolute;
    bottom: -7px;
    /* Moved up slightly */
    left: 50%;
    width: 0;
    height: 3px;
    /* Thicker line */
    background: linear-gradient(90deg, #a54777, #56bbc8);
    transition: width 0.4s ease, left 0.4s ease;
    z-index: 5;
    box-shadow: 0 0 10px #56bbc8;
}

.user-login-wrap.is-focused::after,
.user-pass-wrap.is-focused::after,
.user-email-wrap.is-focused::after {
    width: 100%;
    left: 0;
    z-index: 5;
}

.wallet-up-lc-animated-label {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--wallet-up-lc-text-medium);
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 2;
    background: transparent;
    padding: 0 4px;
}

/* UPDATED: Added email input wrapper for animated label */
.user-login-wrap.is-focused .wallet-up-lc-animated-label,
.user-login-wrap.has-value .wallet-up-lc-animated-label,
.user-email-wrap.is-focused .wallet-up-lc-animated-label,
.user-email-wrap.has-value .wallet-up-lc-animated-label {
    top: 10px;
    left: 47px;
    font-size: 13px;
    color: #1d7985;
    transform: translateY(0);
    background: none;
}

.user-pass-wrap.is-focused .wallet-up-lc-animated-label,
.user-pass-wrap.has-value .wallet-up-lc-animated-label {
    top: 10px;
    left: 47px;
    font-size: 13px;
    color: #1d7985;
    transform: translateY(0);
    background: none;
}

.has-animated-label input {
    padding-top: 28px !important;
    padding-bottom: 10px !important;
    color: #00A8FF;
}

.has-animated-label input {
    padding-top: 28px !important;
    padding-bottom: 10px !important;
    color: white;
}
/* input#user_login,
input#user_pass,
input#user_email {
 height: 45px;   
}
 */
input:focus,
button:focus,
a:focus,
.button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.4);
    /* Cyan focus ring */
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.login-error-feedback,
.enhanced-error-feedback {
    animation: shake 0.6s cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.5);
    /* Red glow on error */
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-2px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(4px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-8px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(8px, 0, 0);
    }
}

input:focus,
button:focus,
a:focus,
.button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.4);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}
/**
 * Language Switcher Styles (v3)
 */
.login-language-switcher,
#language-switcher {
    text-align: center;
    margin-bottom: 24px; /* Space above the main login form/logo */
    position: relative;
    z-index: 2;
    padding: 0 30px; 
    box-sizing: border-box;
    display: flex; /* Use flexbox to align select and button */
    gap: 10px; /* Space between select and button */
    justify-content: center;
    max-width: 480px; /* Constrain the container width */
    margin-left: auto;
    margin-right: auto;
}

/* 1. Style the select dropdown */
.language-switcher-wrapper {
    flex-grow: 1; /* Allow the select field to take up available space */
    position: relative;
    max-width: 250px; /* Give it a max width within the container */
}

.language-switcher select {
    /* Base style to match other form elements */
    width: 100%;
    height: 45px;
    padding: 12px 16px;
    padding-right: 44px; /* Space for the custom dropdown arrow */
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--wallet-up-lc-text-dark);
    
    /* Background and border to match the card/input style */
    background-color: var(--wallet-up-lc-bg-lighter);
    border: 1px solid var(--wallet-up-lc-border);
    border-radius: var(--wallet-up-lc-radius-sm);
    
    /* Add subtle shadow and transition */
    box-shadow: var(--wallet-up-lc-shadow-sm);
    transition: all var(--wallet-up-lc-transition-fast);
    
    /* Customizing the dropdown appearance */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

/* Focus state */
.language-switcher select:focus {
    border-color: var(--wallet-up-lc-primary);
    box-shadow: 0 0 0 3px rgba(103, 79, 191, 0.15);
    outline: none;
    background-color: rgba(255, 255, 255, 0.268);
}

/* Custom dropdown arrow/icon */
.language-switcher-wrapper::after {
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: color var(--wallet-up-lc-transition-fast);
}

/* 2. Style the submit button (General .button style) */
#language-switcher input[type="submit"].button {
    /* Match height of the select dropdown */
    height: 45px;
    line-height: 1; /* Adjust line-height for vertical centering */
    padding: 0 16px; 
    font-size: 15px;
    font-weight: 600;
    
    /* Styling for a secondary/tertiary button */
    background: var(--wallet-up-lc-bg-lighter);
    color: var(--wallet-up-lc-text-dark);
    border: 1px solid var(--wallet-up-lc-border);
    border-radius: var(--wallet-up-lc-radius-sm);
    box-shadow: var(--wallet-up-lc-shadow-sm);
    transition: all var(--wallet-up-lc-transition-fast);
    
    /* Fixed width for a compact button */
    width: auto;
    flex-shrink: 0; /* Don't shrink the button */
    cursor: pointer;
}

#language-switcher input[type="submit"].button:hover {
    background: var(--wallet-up-lc-primary-light);
    border-color: var(--wallet-up-lc-primary);
    color: var(--wallet-up-lc-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--wallet-up-lc-shadow);
}

#language-switcher input[type="submit"].button:active {
    transform: translateY(0);
    box-shadow: var(--wallet-up-lc-shadow-sm);
}
/* Hide WordPress Native Caps Lock Warning */
.caps-warning {
    display: none !important;
}

/* Media query for responsiveness */
@media screen and (max-width: 480px) {
    .login-language-switcher,
    #language-switcher {
        padding: 0 20px; /* Match mobile padding */
        flex-direction: column; /* Stack vertically on small screens */
        gap: 8px;
    }
    .language-switcher-wrapper {
        max-width: 100%;
    }
    .language-switcher select,
    #language-switcher input[type="submit"].button {
        width: 100%; /* Go full width on mobile */
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
@media screen and (max-width: 480px) {
    #login {
        width: 100%;
        padding: 20px;
    }

    #loginform,
    #lostpasswordform,
    #registerform {
        padding: 40px 25px;
    }

    .login h1 a {
        height: 80px;
    }

    .login h1::after {
        font-size: 24px;
    }

    .footer-content {
        padding: 8px 18px;
    }

    .wallet-up-lc-animated-label {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {

    #loginform,
    #lostpasswordform,
    #registerform {
        padding: 40px 25px;
    }

    .login input[type=text],
    .login input[type=password],
    .login input[type=email] {
        height: 50px;
        padding: 25px 14px 8px 42px;
    }

    .wallet-up-lc-animated-label {
        left: 42px;
        font-size: 15px;
    }

    .user-login-wrap::before,
    .user-pass-wrap::before,
    .user-email-wrap::before {
        left: 14px;
        width: 18px;
        height: 18px;
    }

    .input-field-state {
        right: 14px;
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 480px) {

    .login input[type=text],
    .login input[type=password],
    .login input[type=email] {
        height: 50px;
        padding: 25px 44px 10px 42px;
    }

    .has-animated-label input {
        padding-top: 25px !important;
        padding-bottom: 8px !important;
    }

    .wallet-up-lc-animated-label {
        left: 42px;
        font-size: 15px;
    }

    .user-login-wrap::before,
    .user-pass-wrap::before,
    .user-email-wrap::before {
        left: 14px;
        width: 18px;
        height: 18px;
    }

    .button.wp-hide-pw {
        right: 14px;
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
}