/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.picking-winner {
    padding: 1em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #00A676;
    position: relative;
    font-size: 18px;
    text-align: center;
    margin: 30px 0px;
    color: #fff;
    font-weight: bold;
}
.picked-winner {
    padding: 1em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #FF6B6B;
    position: relative;
    font-size: 18px;
    text-align: center;
    margin: 30px 0px;
    font-weight: bold;
    color: #ffffff;
}
.lottery-winners {
    padding: 30px 23px;
    position: relative;
    font-size: 15px;
    text-align: center;
    margin: 30px 0px;
}
.lottery-winners h3 {
    font-size: 25px;
}
.lottery-winners .dots {
    border-top: 4px dotted #000;
    margin: 15px 0px;
}
.lottery-winners span.ticket-number {
    margin-top: 10px;
    display: block;
    font-size: 12px;
}

/* Enhanced Lottery Winners Styles */
.lottery-winners-announcement {
    position: relative;
    padding: 40px 20px;
    background: #121212;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

.lottery-winners-announcement.single-winner {
    background: #121212;
}

.winners-title {
    color: #E0E0E0;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
    to { text-shadow: 0 0 20px rgba(255,255,255,0.8), 2px 2px 4px rgba(0,0,0,0.3); }
}

.lottery-winners-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lottery-winner-item {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
    transition: all 0.3s ease;
}

.lottery-winner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.lottery-winner-item.winner-1 {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #00FFD1, #1E1E1E);
    border: 3px solid #00FFD1;
}

.lottery-winner-item.winner-2 {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #FF2A6D, #1E1E1E);
    border: 3px solid #FF2A6D;
}

.lottery-winner-item.winner-3 {
    animation-delay: 0.6s;
    background: linear-gradient(135deg, #FFAE00, #1E1E1E);
    border: 3px solid #FFAE00;
}

.lottery-winner-item:nth-child(n+4) {
    animation-delay: calc(0.6s + (var(--position, 4) - 3) * 0.2s);
}

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

.winner-content {
    flex: 1;
    text-align: left;
}

.winner-position {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #E0E0E0;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.winner-name {
    font-size: 24px;
    font-weight: bold;
    color: #E0E0E0;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.winner-details {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ticket-label {
    font-size: 14px;
    color: #E0E0E0;
    font-weight: 500;
}

.ticket-number-display {
    background: #1E1E1E;
    color: #E0E0E0;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

.winner-trophy {
    font-size: 48px;
    animation: bounce 2s infinite;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.6));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Single Winner Styles */
.single-winner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    animation: slideInUp 0.8s ease-out forwards;
}

.single-winner-content .winner-content {
    text-align: center;
}

.single-winner-content .winner-name {
    font-size: 28px;
}

/* Confetti Animation */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f0f;
    animation: confetti-fall 3s linear infinite;
}

.confetti:nth-child(1) {
    left: 10%;
    animation-delay: -0.5s;
    background: #00FFD1;
    animation-duration: 3s;
}

.confetti:nth-child(2) {
    left: 20%;
    animation-delay: -1s;
    background: #FF2A6D;
    animation-duration: 2.5s;
}

.confetti:nth-child(3) {
    left: 30%;
    animation-delay: -1.5s;
    background: #FFAE00;
    animation-duration: 3.5s;
}

.confetti:nth-child(4) {
    left: 40%;
    animation-delay: -2s;
    background: #E0E0E0;
    animation-duration: 2.8s;
}

.confetti:nth-child(5) {
    left: 50%;
    animation-delay: -2.5s;
    background: #FFFFFF;
    animation-duration: 3.2s;
}

.confetti:nth-child(6) {
    left: 60%;
    animation-delay: -3s;
    background: #00FFD1;
    animation-duration: 2.6s;
}

.confetti:nth-child(7) {
    left: 70%;
    animation-delay: -3.5s;
    background: #FF2A6D;
    animation-duration: 3.8s;
}

.confetti:nth-child(8) {
    left: 80%;
    animation-delay: -4s;
    background: #FFAE00;
    animation-duration: 2.9s;
}

.confetti:nth-child(9) {
    left: 90%;
    animation-delay: -4.5s;
    background: #E0E0E0;
    animation-duration: 3.1s;
}

.confetti:nth-child(10) {
    left: 15%;
    animation-delay: -5s;
    background: #FFFFFF;
    animation-duration: 2.7s;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .lottery-winners-announcement {
        padding: 20px 15px;
    }
    
    .winners-title {
        font-size: 24px;
    }
    
    .lottery-winner-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .winner-content {
        text-align: center;
    }
    
    .winner-name {
        font-size: 20px;
    }
    
    .winner-trophy {
        font-size: 36px;
    }
    
    .single-winner-content {
        flex-direction: column;
        gap: 20px;
    }
}
.lottery-winners  span.show-ticket-number {
    font-weight: bold;
    font-size: 35px;
}
.mt-tickets-show .product-price bdi {
    font-size: 50px;
    color: #00FFD1;
    font-weight: 600;
    margin: 25px 0px;
    line-height: 70px;
}
.mt-tickets-show {
    padding: 30px;
}
.mt-tickets-show h5 {
    margin-top: 25px;
    margin-bottom: 30px;
}
.lottery-info-wrapper {
    background: #1E1E1E;
    color: #E0E0E0;
    padding: 20px;
}
.lottery-info-wrapper i {
    font-size: 30px;
    margin-bottom: 10px;
}
.lottery-info-wrapper.available {
    background: #00FFD1;
}
.instant-ticket-wrap {
  font-size: 30px;
  display: table;
  z-index: 2;
  width: 190px;
  height: 104px;
  /*grey*/
  background: -webkit-radial-gradient(0 100%, circle, rgba(204, 204, 204, 0) 14px, #ccc 15px), -webkit-radial-gradient(100% 100%, circle, rgba(204, 204, 204, 0) 14px, #ccc 15px), -webkit-radial-gradient(100% 0, circle, rgba(204, 204, 204, 0) 14px, #ccc 15px), -webkit-radial-gradient(0 0, circle, rgba(204, 204, 204, 0) 14px, #ccc 15px);
}
.instant-ticket-winner-wrap {
  font-size: 30px;
  display: table;
  z-index: 2;
  width: 190px;
  height: 104px;
  /*grey*/
  background: -webkit-radial-gradient(0 100%, circle, rgba(204, 204, 204, 0) 14px, #ccc 15px), -webkit-radial-gradient(100% 100%, circle, rgba(204, 204, 204, 0) 14px, #ccc 15px), -webkit-radial-gradient(100% 0, circle, rgba(204, 204, 204, 0) 14px, #ccc 15px), -webkit-radial-gradient(0 0, circle, rgba(204, 204, 204, 0) 14px, #ccc 15px);
}
.instant-ticket-wrap:before {
    content: "";
    display: block;
    width: 200px;
    height: 100px;
    position: absolute;
    left: 0px;
    z-index: 0;
    background: -webkit-radial-gradient(0 100%, circle, rgba(204, 102, 153, 0) 14px, #FF6B6B 15px), -webkit-radial-gradient(100% 100%, circle, rgba(204, 102, 153, 0) 14px, #FF6B6B 15px), -webkit-radial-gradient(100% 0, circle, rgba(204, 102, 153, 0) 14px, #FF6B6B 15px), -webkit-radial-gradient(0 0, circle, rgba(204, 102, 153, 0) 14px, #FF6B6B 15px);
}
.instant-ticket-winner-wrap:before {
    content: "";
    display: block;
    width: 200px;
    height: 100px;
    position: absolute;
    left: 0px;
    z-index: 0;
    background: -webkit-radial-gradient(0 100%, circle, rgba(204, 102, 153, 0) 14px, #1E1E1E 15px), -webkit-radial-gradient(100% 100%, circle, rgba(204, 102, 153, 0) 14px, #1E1E1E 15px), -webkit-radial-gradient(100% 0, circle, rgba(204, 102, 153, 0) 14px, #1E1E1E 15px), -webkit-radial-gradient(0 0, circle, rgba(204, 102, 153, 0) 14px, #1E1E1E 15px);
}
.instant-winner-wrap,
.instant-inner-wrap {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.instant-winner-wrap:before {
  z-index: 0;
  content: "";
  display: block;
  width: 186px;
  height: 86px;
  position: absolute;
  left: 8px;
  top: 8px;
  background: -webkit-radial-gradient(0 100%, circle, rgba(255, 255, 255, 0) 14px, white 15px), -webkit-radial-gradient(100% 100%, circle, rgba(255, 255, 255, 0) 14px, white 15px), -webkit-radial-gradient(100% 0, circle, rgba(255, 255, 255, 0) 14px, white 15px), -webkit-radial-gradient(0 0, circle, rgba(255, 255, 255, 0) 14px, white 15px);
}
.instant-inner-wrap:before {
  z-index: 0;
  content: "";
  display: block;
  width: 186px;
  height: 86px;
  position: absolute;
  left: 8px;
  top: 8px;
  background: -webkit-radial-gradient(0 100%, circle, rgba(255, 255, 255, 0) 14px, white 15px), -webkit-radial-gradient(100% 100%, circle, rgba(255, 255, 255, 0) 14px, white 15px), -webkit-radial-gradient(100% 0, circle, rgba(255, 255, 255, 0) 14px, white 15px), -webkit-radial-gradient(0 0, circle, rgba(255, 255, 255, 0) 14px, white 15px);
}
.instant-winner-wrap:after {
  z-index: 0;
  content: "";
  display: block;
  width: 182px;
  height: 82px;
  position: absolute;
  left: 10px;
  top: 10px;
  background: -webkit-radial-gradient(0 100%, circle, rgba(204, 102, 153, 0) 14px, #1E1E1E 15px), -webkit-radial-gradient(100% 100%, circle, rgba(204, 102, 153, 0) 14px, #1E1E1E 15px), -webkit-radial-gradient(100% 0, circle, rgba(204, 102, 153, 0) 14px, #1E1E1E 15px), -webkit-radial-gradient(0 0, circle, rgba(204, 102, 153, 0) 14px, #1E1E1E 15px);
}
.instant-inner-wrap:after {
  z-index: 0;
  content: "";
  display: block;
  width: 182px;
  height: 82px;
  position: absolute;
  left: 10px;
  top: 10px;
  background: -webkit-radial-gradient(0 100%, circle, rgba(204, 102, 153, 0) 14px, #00FFD1 15px), -webkit-radial-gradient(100% 100%, circle, rgba(204, 102, 153, 0) 14px, #00FFD1 15px), -webkit-radial-gradient(100% 0, circle, rgba(204, 102, 153, 0) 14px, #00FFD1 15px), -webkit-radial-gradient(0 0, circle, rgba(204, 102, 153, 0) 14px, #00FFD1 15px);
}
.instant-ticket-wrap,
.instant-ticket-wrap:before,
.instant-ticket-wrap:after,
.instant-ticket-winner-wrap,
.instant-ticket-winner-wrap:before,
.instant-ticket-winner-wrap:after,
.instant-winner-wrap:before,
.instant-winner-wrap:after,
.instant-inner-wrap:before,
.instant-inner-wrap:after {
  background-position: bottom left, bottom right, top right, top left;
  -webkit-background-size: 60% 60%;
  background-size: 60% 60%;
  background-repeat: no-repeat;
}
.instant-winner-wrap p.prize-text,
.instant-inner-wrap p.prize-text {
    font-size: 18px;
    font-weight: 700;
}
.instant-winner-wrap p,
.instant-inner-wrap p {
    z-index: 10;
    position: relative;
    color: #fff;
    margin: 0px;
    line-height: 1.4;
    font-size: 14px;
    margin-left: -10px;
}
.mt-instant-wins.row .col-md-2 {
    margin-right: 35px;
    margin-bottom: 25px;
}
.order-tickets-list.nw h6 {
    background: #1E1E1E;
    padding: 20px;
    width: fit-content;
}
.order-tickets-list.win h6 {
    background: #00FFD1;
    padding: 20px;
    width: fit-content;
}
div#tab-mt_random_ticket_picker #results {
    border: 1px solid #cccccc;
    border-radius: 5px;
    height: 80px;
    padding: 20px;
    text-align: center;
    font-size: 30px;
    overflow: hidden;
}
div#tab-mt_random_ticket_picker #results ul {
    margin: 50px 0 0 0;
    padding: 0;
    list-style: none;
}
div#tab-mt_random_ticket_picker #results li {
    margin-top: 20px;
    font-weight: bold;
    color: #000;
}
.woocommerce-Tabs-panel--mt_random_ticket_picker h2 {
    display: block !important;
    font-size: 35px !important;
}
.woocommerce-Tabs-panel--mt_random_ticket_picker h3 {
    margin-top: 0px;
    font-size: 28px;
    color: #3D404F;
}
.woocommerce-Tabs-panel--mt_random_ticket_picker textarea.form-control {
    height: 200px;
    font-size: 20px;
    font-style: normal;
    cursor: not-allowed;
}
div#tab-mt_random_ticket_picker {
    padding-bottom: 60px;
}
div#tab-mt_random_ticket_picker #chooser {
    margin-top: 20px;
}
div#tab-mt_random_ticket_picker #chooser button {
    background-color: #00FFD1;
    font-size: 13px;
    line-height: 1.33;
    font-weight: 600;
    text-transform: uppercase;
    padding: 13px 30px !important;
    border-radius: 5px;
    color: #121212;
    border: none;
    margin-top: 20px;
}
