/* 
Theme Name: Best Raffle Opportunities
Theme URI: 	https://www.bestraffleopportunities.co.uk
Description: A bespoke theme built off the Hello Elementor Theme
Author: Level Digital
Author URI: https://www.leveldigital.uk
Template: hello-elementor
Version: 2.0.0
Text Domain: bestraffleopportunities
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/**
GLOBAL SECTION PADDING
**/
.page-content > div > .e-con:not(.e-con-full) {
	padding-left: 6vw;
	padding-right: 6vw;
}



.ticket-tab-bar .ticket-tab-bar-item {

  opacity: 1 !important;
  border: 2px solid #EEEEEE26;
  border-radius: 20px!important;
  padding: 5px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin-right: 10px;
  font-family: "IBM Plex Mono", Sans-serif;
  color: #C9CDD3 !important;
  font-size: 14px !important;
}

.ticket-tab-bar .ticket-tab-bar-item.ticket-tab-active {
  background: #D4AF37 !important;
  color: #0B0C0E !important;
}

.ticket-tab-bar .ticket-tab-bar-item:hover{
	
	  background: #D4AF37 !important;
  color: #0B0C0E !important;
	
}
ul.tickets_numbers {

  padding: 0px;
}

.ticket-tab-bar {
  margin-bottom: 15px;
}

ul.tickets_numbers li.taken {
  display: none !important;
}

ul.tickets_numbers li.selected {
  background: #D4AF37  !important;
    background-color: #D4AF37;
}

ul.tickets_numbers li.tn {
  float: left !important;
  list-style: none !important;
  
  /* Colors & Styling matching image */
  background-color: #171B22;
  border: 1px solid #272B34 !important;
  border-radius: 10px !important;
  color: #FFFFFF !important;
  
  /* Dimensions */
  width: 60px !important;
  height: 45px !important;
  line-height: 43px !important; /* Matches height minus border for perfect vertical centering */
  padding: 0 !important;
  margin: 4px !important;
  
  /* Text Formatting */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

/* Optional hover state */
ul.tickets_numbers li.tn:hover {
  background-color: #1F242D !important;
  border-color: #383E4A !important;
}

/**
PRODUCT PROGRESS BAR
**/

/* Container & Inter Font */
.custom-lottery-bar-container {
    width: 100%;
    margin: 15px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dark Background Bar Track */
.custom-lottery-bar-track {
    background-color: #1E222A;
    border-radius: 10px;
    height: 6px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Gold Progress Bar Animation */
.custom-lottery-bar-fill {
    background-color: #E2C457;
    height: 100%;
    width: 0%;
    border-radius: 10px;
    animation: fillLotteryBar 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fillLotteryBar {
    from {
        width: 0%;
    }
    to {
        width: var(--target-width, 0%);
    }
}

/* Labels below the progress bar */
.custom-lottery-bar-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 13px;
    color: #9EA2A8;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}


.elementor-widget-woocommerce-lottery-pick-numbers h3 {
	
	font-size:18px;
	font-weight:800;
	
}

.elementor-widget-woocommerce-lottery-answers h3 {
	
	font-size:18px;
	font-weight:800;
	
}




ul.lottery-pn-answers {
  padding: 0;

}




/* Base smooth transitions for the answer pills */
.elementor-element-e84f8cb ul.lottery-pn-answers li {
    transition: all 0.2s ease-in-out;
}

.elementor-element-e84f8cb ul.lottery-pn-answers li::before {
    transition: background-color 0.2s ease-in-out;
}

/* 
 * ==========================================
 * ALL GOLD (Correct Answer Selected)
 * ==========================================
 */
.elementor-element-e84f8cb ul.lottery-pn-answers li.selected:not(.false) {
    background-color: #d4af37 !important; /* Solid Gold Background */
    border-color: #ffd700 !important;     /* Bright Gold Border */
    color: #000000 !important;            /* Dark text for contrast against gold */
}

/* White or Dark Circle inside the Gold Pill */
.elementor-element-e84f8cb ul.lottery-pn-answers li.selected:not(.false)::before {
    background-color: #000000 !important; /* Dark circle to stand out on gold */
}


/* 
 * ==========================================
 * ALL RED (Incorrect Answer Selected)
 * ==========================================
 */
.elementor-element-e84f8cb ul.lottery-pn-answers li.selected.false,
.elementor-element-e84f8cb ul.lottery-pn-answers li.false {
    background-color: #dc3545 !important; /* Solid Red Background */
    border-color: #ff6b6b !important;     /* Bright Red Border */
    color: #ffffff !important;            /* White text for contrast against red */
}

/* White Circle inside the Red Pill */
.elementor-element-e84f8cb ul.lottery-pn-answers li.selected.false::before,
.elementor-element-e84f8cb ul.lottery-pn-answers li.false::before {
    background-color: #ffffff !important; /* White circle to stand out on red */
}
/*
 * Style the lottery question widget container to be full width
 */
.elementor-element-e84f8cb.elementor-widget-woocommerce-lottery-answers {
    /* Add padding inside the card */
    background-color: #1a1e26; /* Dark background color */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white border */
    border-radius: 12px; /* Rounded corners */
    
    /* Full width settings */
    width: 100%; /* Force it to stretch 100% of the parent container */
    max-width: 100%; /* Remove any max-width limit */
    box-sizing: border-box; /* Ensures padding doesn't push it past 100% width */
}

/*
 * Style the lottery question widget container
 * This targets the outer Elementor widget wrapper to create the card
 */
.elementor-element-e84f8cb.elementor-widget-woocommerce-lottery-answers {
  padding-top: 15px;
  background-color: #1a1e26;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

/*
 * Style the widget-container (the inner wrapper)
 * This helps with layout of the elements inside the card
 */
.elementor-element-e84f8cb .elementor-widget-container {

    flex-direction: column; /* Stack heading/question above the answers */
    gap: 10px; /* Adds space between the title section and the answers */
}

/*
 * Combine Heading and Question onto the same line
 */
.elementor-element-e84f8cb h3#answer-the-question,
.elementor-element-e84f8cb p.lottery-question {
    display: inline; /* Make them flow like a single sentence */
    margin: 0; /* Remove default margins */
    color: #e0e0e0; /* Light gray text color */
    font-family: inherit; /* Use theme font */
}

/* Make "Answer the question:" bold */
.elementor-element-e84f8cb h3#answer-the-question {
    font-weight: 700;
}

/* Style the text of the question itself */
.elementor-element-e84f8cb p.lottery-question {
    font-weight: normal;
    padding-left: 5px; /* Adds a little space between "question:" and "What..." */
}

/*
 * Style the list of answers (<ul>)
 * Replicate the layout from image_0.png with flexbox
 */
.elementor-element-e84f8cb ul.lottery-pn-answers {
    list-style: none; /* Remove bullet points */
    margin: 15px 0 0 0; /* Clear default margin, add gap from title */
    padding: 0; /* Clear default padding */
    display: flex;
    gap: 10px; /* Space between the answer pill buttons */
}

/*
 * Style individual answer items (<li>)
 * These become the "pills" or "buttons" in image_0.png
 */
.elementor-element-e84f8cb ul.lottery-pn-answers li {
    display: flex;
    align-items: center; /* Center items vertically */
    padding: 10px 20px; /* Padding inside the answer pill */
    border-radius: 30px; /* Highly rounded corners for the pill shape */
    background-color: #2a2e36; /* Slightly lighter dark background for the button */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle border around the pill */
    color: #e0e0e0; /* Match text color */
    cursor: pointer; /* Change cursor to pointer to indicate it's clickable */
}

/*
 * Add the white circle (simulated radio button)
 * Use ::before pseudo-element on the list item text
 */
.elementor-element-e84f8cb ul.lottery-pn-answers li::before {
    content: ''; /* Required for pseudo-element */
    display: block;
    width: 12px; /* Set the size of the circle */
    height: 12px;
    border-radius: 50%; /* Make it a circle */
    background-color: white; /* Fill the circle with white */
    margin-right: 10px; /* Space between circle and text */
}

/* Hover state for the answer pills for better interactivity */
.elementor-element-e84f8cb ul.lottery-pn-answers li:hover {
    background-color: #353a42; /* Lighter background on hover */
}