#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-message {
    position: relative; /* Needed to position the close button */
    display: flex; /* Use flexbox to align message and button */
    justify-content: space-between;
    align-items: center;
    gap: 15px; /* Space between message and button */
    padding: 15px 40px 15px 20px; /* Add extra padding on the right for the button */
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease-in-out;
}

.toast-message.show {
    opacity: 1;
    transform: translateX(0);
}

/* Close Button Styles */
.toast-close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}
.toast-close-button:hover {
    background: rgba(0,0,0,0.4);
}


/* Different styles for different message types */
.toast-message.is-info { background-color: #3498db; }
.toast-message.is-success { background-color: #2ecc71; }
.toast-message.is-error { background-color: #e74c3c; }

/* --- [NEW] Modal Styles --- */
.bztm-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bztm-modal-container.is-visible {
    display: flex; /* Made visible by JavaScript */
}
.bztm-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.bztm-modal-content {
    background: #fff;
    border-radius: 5px;
    width: 100%;
    max-width: 420px;
    z-index: 10001;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
}
.bztm-modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}
.bztm-modal-body {
    padding: 20px 30px 30px 30px;
}
.bztm-modal-body h3 {
    margin-top: 0;
    text-align: center;
}
.bztm-modal-body .login-form {
    margin-top: 20px;
}
.bztm-modal-body .login-remember {
    font-size: 13px;
}
.bztm-register-link {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}


 /* made by gemini */

/* --- Baziwood Auth Modal - "Terminal" Style --- */

/* 1. Container & Backdrop
/* A darker, more immersive backdrop with a noise texture.
/*----------------------------------------------------------------*/
.bztm-modal-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s ease-in-out;
}

.bztm-modal-container.is-visible {
    visibility: visible;
    opacity: 1;
}

.bztm-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgb(10 12 19 / 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    /* Adding a subtle noise texture to the background */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.2;
}


/* 2. Modal Content Box
/* A heavy, industrial frame with "bolted-on" corners.
/*----------------------------------------------------------------*/
.bztm-modal-content {
    position: relative;
    width: 100%;
    max-width: 450px;
    background-color: #1A2433;
    border: 1px solid #3a4a6b;
    border-radius: 4px; /* A sharper, more industrial corner */
    padding: 10px;
    /* Using your .boxit shadow for core depth */
    box-shadow: -10px 10px 40px #0a0c13, inset 0 0 15px rgb(10 12 19 / 50%);
    /* Flicker-in animation */
    animation: fadeInAndFlicker 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInAndFlicker {
    0% { transform: translateY(20px); opacity: 0; filter: brightness(1); }
    80% { transform: translateY(0); opacity: 1; filter: brightness(1.5); }
    100% { transform: translateY(0); opacity: 1; filter: brightness(1); }
}

/* Bolted corners effect */
.bztm-modal-content::before, 
.bztm-modal-content::after {
    content: '●      ●'; /* Using dots to simulate bolts */
    font-family: monospace;
    font-size: 10px;
    color: #3a4a6b;
    position: absolute;
    width: 96%;
    display: flex;
    justify-content: space-between;
    letter-spacing: -2px;
}
.bztm-modal-content::before { top: 4px; left: 2%; }
.bztm-modal-content::after { bottom: 4px; left: 2%; }

/* 3. Modal Body & Close Button
/* The main content area and a hazardous-style close button.
/*----------------------------------------------------------------*/
.bztm-modal-body {
    padding: 20px;
    border: 1px solid #2a2f3a;
    border-radius: 2px;
}

.bztm-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #E3DE27;
    border: 2px solid #121924;
    border-radius: 50%;
    color: #121924;
    font-size: 20px;
    font-weight: bold;
    width: 38px;
    height: 38px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(227, 222, 39, 0.5);
}

.bztm-modal-close:hover {
    background-color: #F30749;
    color: #fff;
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 0 20px rgba(243, 7, 73, 0.7);
}


/* 4. Form Styling
/* A terminal-inspired design with monospaced fonts and blinking cursors.
/*----------------------------------------------------------------*/
.bztm-modal-body h3 {
    font-family: monospace;
    font-size: 22px;
    text-shadow: 0 0 8px #F30749;
    color: #E3DE27;
    text-align: center;
    margin: 0 0 25px 0;
    text-transform: uppercase;
}

#custom-login-form label,
#loginform label,
#custom-registration-form label,
#custom-password-request-form label,
#custom-password-reset-form label {
    font-family: monospace;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 8px;
}

#custom-login-form input,
#loginform .input,
#custom-registration-form input,
#custom-password-request-form input,
#custom-password-reset-form input {
    font-family: monospace;
    width: 100%;
    background-color: #0a0c13;
    border: 1px solid #3a4a6b;
    color: #E3DE27;
    padding: 12px;
    font-size: 1rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    caret-color: #E3DE27;
}
#custom-login-form,
#custom-registration-form,
#custom-password-request-form,
#custom-password-reset-form,
#loginform {
    max-width: 500px;
    margin-top: 15px;
}
#custom-registration-form input,
#custom-password-request-form input,
#custom-password-reset-form input {
    margin-bottom: 15px;
}
.registration-errors {
    color: #ff5a5a;
}

/* Blinking cursor effect on focus */
#custom-login-form input:focus,
#loginform .input:focus,
#custom-registration-form input:focus,
#custom-password-request-form input:focus,
#custom-password-reset-form input:focus {
    outline: none;
    background-color: #000;
    border-color: #E3DE27;
    box-shadow: inset 0 0 10px rgba(227, 222, 39, 0.2);
    animation: blink-cursor 1.2s steps(2, start) infinite;
}

@keyframes blink-cursor {
  to {
    border-right: 2px solid #E3DE27;
  }
}

/* Mechanical toggle for "Remember Me" */
.login-remember label {
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    gap: 12px;
    user-select: none;
}

#rememberme {
    appearance: none;
    width: 50px !important;
    height: 24px !important;
    background: #0a0c13;
    border: 1px solid #3a4a6b;
    border-radius: 2px;
    position: relative;
    transition: background 0.3s;
    margin-top: 10px;
}

#rememberme::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #3a4a6b;
    border-top: 2px solid #5c6a82;
    border-left: 2px solid #5c6a82;
    transition: all 0.3s ease;
}

#rememberme:checked {
    background: #44400f;
}

#rememberme:checked::before {
    left: 28px;
    background: #E3DE27;
    border-color: #f5f15e;
}


/* Heavy-duty submit button */
#loginform #wp-submit,
.custom-register-submit,
.custom-login-submit,
.custom-reset-submit,
.custom-request-submit {
    width: 100%;
    font-family: monospace;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1rem;
    color: #0a0c13 !important;
    background: linear-gradient(to bottom, #E3DE27, #c9c623);
    border: none;
    border-radius: 2px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 0 #f5f15e, 0 2px 3px rgba(0,0,0,0.5);
    text-shadow: none;
    margin-top: 10px;
}

#loginform #wp-submit:hover {
    filter: brightness(1.1);
}

#loginform #wp-submit:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 0 #f5f15e, 0 0 0 rgba(0,0,0,0.5);
}


/* 5. Footer Link
/* A simple, clear link for registration.
/*----------------------------------------------------------------*/
.bztm-register-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #3a4a6b;
    font-family: monospace;
}

.bztm-register-link a {
    font-family: monospace;
    color: #E3DE27;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.bztm-register-link a:hover {
    color: #fff;
    background: #E3DE27;
    color: #0a0c13;
    text-decoration: none;
    padding: 2px 6px;
}