:root {
    --netflix-red: #E50914;
    --netflix-black: #141414;
    --netflix-gray: #333333;
    --netflix-light-gray: #8c8c8c;
    --netflix-white: #ffffff;
}

.nwl-auth-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://dlcdnwebimgs.asus.com/files/media/6165ca2b-e67c-4236-8862-6b0bde519476/v7/brand/images/large/1x/s1/fullpage_2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.nwl-auth-wrapper {
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 4px;
    padding: 60px 68px 40px;
    max-width: 450px;
    width: 100%;
    box-sizing: border-box;
}

.nwl-auth-form h1 {
    color: var(--netflix-white);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 28px;
    margin-top: 0;
}

.nwl-form-group {
    margin-bottom: 16px;
    position: relative;
}

.nwl-form-input {
    background: var(--netflix-gray);
    border: 0;
    border-radius: 4px;
    color: var(--netflix-white);
    height: 50px;
    padding: 16px 20px 0;
    width: 100%;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: background 0.2s;
}

.nwl-form-input:focus {
    background: #454545;
}

.nwl-form-input:focus + .nwl-form-label,
.nwl-form-input:not(:placeholder-shown) + .nwl-form-label {
    top: 13px;
    font-size: 11px;
}

.nwl-form-label {
    position: absolute;
    top: 50%;
    left: 20px;
    color: var(--netflix-light-gray);
    font-size: 16px;
    transition: all 0.2s;
    transform: translateY(-50%);
    pointer-events: none;
}

.nwl-form-input:placeholder-shown {
    padding-top: 16px;
}

.nwl-btn {
    background: var(--netflix-red);
    border: none;
    border-radius: 4px;
    color: var(--netflix-white);
    font-size: 16px;
    font-weight: 700;
    height: 48px;
    margin: 24px 0 12px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.nwl-btn:hover {
    background: #f40612;
}

.nwl-remember-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--netflix-light-gray);
    font-size: 13px;
}

.nwl-checkbox-group {
    display: flex;
    align-items: center;
}

.nwl-checkbox-group input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
}

.nwl-checkbox-group label {
    cursor: pointer;
    color: var(--netflix-light-gray);
    margin: 0px 0px 0px 0px;
}

.nwl-help-link {
    color: var(--netflix-light-gray);
    text-decoration: none;
}

.nwl-help-link:hover {
    text-decoration: underline;
}

.nwl-signup-link {
    margin-top: 16px;
    color: var(--netflix-light-gray);
    font-size: 16px;
}

.nwl-signup-link a {
    color: var(--netflix-white);
    text-decoration: none;
}

.nwl-signup-link a:hover {
    text-decoration: underline;
}

.nwl-error-message {
    background: #e87c03;
    border-radius: 4px;
    color: var(--netflix-white);
    font-size: 14px;
    margin-bottom: 16px;
    padding: 10px 20px;
    display: none;
}

.nwl-error-message.show {
    display: block;
}

.nwl-success-message {
    background: #46b450;
    border-radius: 4px;
    color: var(--netflix-white);
    font-size: 14px;
    margin-bottom: 16px;
    padding: 10px 20px;
    display: none;
}

.nwl-success-message.show {
    display: block;
}

.nwl-loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.nwl-loading.show {
    display: block;
}

.nwl-spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--netflix-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .nwl-auth-wrapper {
        padding: 40px 28px 30px;
    }
    
    .nwl-auth-form h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .nwl-auth-wrapper {
        padding: 30px 20px 20px;
        background-color: rgba(0, 0, 0, 0.95);
    }
    
    .nwl-auth-form h1 {
        font-size: 24px;
    }
    
    .nwl-form-input {
        height: 48px;
        font-size: 14px;
    }
    
    .nwl-btn {
        height: 44px;
        font-size: 14px;
    }
}

body.woocommerce-account:not(.logged-in) .woocommerce,
body.woocommerce-checkout:not(.logged-in) .woocommerce-form-login {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.woocommerce-account:not(.logged-in) .woocommerce::before,
body.woocommerce-account:not(.logged-in) .woocommerce::after,
body.woocommerce-checkout:not(.logged-in) .woocommerce-form-login::before,
body.woocommerce-checkout:not(.logged-in) .woocommerce-form-login::after {
    content: none;
}

body.nwl-login-page {
    margin: 0;
    padding: 0;
}

body.nwl-login-page .site-header,
body.nwl-login-page .site-footer,
body.nwl-login-page header,
body.nwl-login-page footer {
    display: none;
}

.nwl-form-toggle {
    text-align: center;
    margin-top: 20px;
}

.nwl-toggle-btn {
    background: none;
    border: none;
    color: var(--netflix-white);
    font-size: 16px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.nwl-toggle-btn:hover {
    color: var(--netflix-red);
}

/* Override WordPress notice actions button */
.notice-actions .button-primary {
    background: rgb(0, 0, 0) !important;
}