/* --- Global & Theme Elements --- */
:root {
    --neon-red: #CA0123;
    --neon-blue: #1AA6F9;
}

.navbar-transparent.on-dark-bg #header .logo a, 
.navbar-transparent.on-dark-bg .navbar, 
.navbar-transparent.on-dark-bg .navbar .navbar-nav .caret:after {
    color: #000;
    background-color: #000000;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 55%, 57%, 100% { opacity: 1; }
  20%, 22%, 24%, 56% { opacity: 0.5; }
}

.flicker-image img {
    animation: flicker 5s infinite;
}

.vc_column-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- Bourbon & Boots Form Container --- */
.bb-form-container { 
    border: 3px solid var(--neon-blue); 
    box-shadow: 0 0 20px var(--neon-blue); 
    padding: 40px; 
    border-radius: 20px; 
    background: rgba(0, 0, 0, 0.8); 
    width: 100%;
    max-width: 650px; 
    margin: 20px auto;
    text-align: center;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.bb-form-container p {
    color: #fff !important;
    font-weight: bold;
    font-size: 1.2em; 
    margin-bottom: 10px;
}

/* --- Input Fields --- */
.bb-form-container input[type="text"],
.bb-form-container input[type="email"],
.bb-form-container input[type="date"],
.bb-form-container select,
.bb-form-container textarea {
    display: block;
    margin: 10px auto 20px auto;
    background-color: #fff !important; 
    color: #333 !important;
    border: 2px solid var(--neon-blue);
    width: 100% !important; /* Changed to 100% since container now has padding */
    max-width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: 5px;
    box-sizing: border-box;
}

.bb-form-container .wpcf7-checkbox {
    display: block;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

/* --- Submit Button --- */
.bb-form-container .wpcf7-submit {
    display: block !important;
    margin: 30px auto 0 auto !important;
    background-color: var(--neon-blue) !important;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: bold;
    padding: 15px 50px !important;
    border: none !important;
    cursor: pointer;
    width: auto !important;
    min-width: 250px;
    transition: 0.3s;
}

/* --- Popups & Overlays --- */
#bb-pop-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9998;
}

#bb-success-pop, #bb-error-pop {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    padding: 40px;
    z-index: 9999;
    text-align: center;
    border-radius: 20px; 
    max-width: 400px;
    width: 90%;
}

#bb-success-pop { border: 3px solid var(--neon-blue); box-shadow: 0 0 20px var(--neon-blue); }
#bb-error-pop { border: 3px solid var(--neon-red); box-shadow: 0 0 20px var(--neon-red); }

#bb-success-pop h2, #bb-error-pop h2 { color: #fff; text-transform: uppercase; margin-bottom: 15px; }
#bb-success-pop p, #bb-error-pop p { color: #fff; font-size: 16px; line-height: 1.6; }

.close-pop, .retry-pop {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 25px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}
.close-pop { background: var(--neon-blue); }
.retry-pop { background: var(--neon-red); }

/* Hide CF7 Default Messages */
.wpcf7-response-output, .wpcf7-not-valid-tip, .wpcf7-mail-sent-ok {
    display: none !important;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 767px) {
    .bb-form-container {
        max-width: 100% !important;
        width: 100% !important;
        /* Added 20px padding to the SIDES to prevent the 'squished' look */
        padding: 30px 20px !important; 
        border-radius: 0px !important;
        box-sizing: border-box;
    }

    .bb-form-container input[type="text"],
    .bb-form-container input[type="email"],
    .bb-form-container input[type="date"],
    .bb-form-container select,
    .bb-form-container textarea {
        width: 100% !important;
        font-size: 16px !important;
    }

    .bb-form-container .wpcf7-submit {
        width: 100% !important;
    }
}