/* EuroJackpot Checker Styles */

/* Checker Widget Container (Inner - Security Ticket Look) */
#checker-widget {
    padding: 3rem;
    background-color: #fffbea;
    /* Warm cream base */
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(202, 127, 38, 0.03) 10px,
            /* Very faint gold lines */
            rgba(202, 127, 38, 0.03) 11px);
}

/* Checker Controls (Date Selector) */
.checker-controls {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 10;
}

/* Result Date Selector */
.result-date-selector {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Date Buttons - Calendar Style */
.checker-controls .date-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    text-transform: uppercase;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.checker-controls .date-btn span {
    font-size: 1.3rem;
    font-weight: 800;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b2309;
    width: 100%;
    margin-top: -2px;
}

.checker-controls .date-btn small {
    font-size: 0.6rem;
    font-weight: 700;
    width: 100%;
    background-color: #CA7F26;
    color: #ffffff;
    padding: 4px 0;
    order: -1;
    letter-spacing: 0.5px;
    line-height: 1;
}

.checker-controls .date-btn:hover {
    transform: translateY(-2px);
    border-color: #CA7F26;
    box-shadow: 0 4px 8px rgba(202, 127, 38, 0.2);
}

.checker-controls .date-btn.active {
    background-color: #fffbea;
    border: 3px solid #CA7F26;
    box-shadow: 0 0 15px rgba(202, 127, 38, 0.3);
    transform: translateY(-2px);
}

.checker-controls .date-btn.active span {
    color: #0b2309;
}

.checker-controls .date-btn.active small {
    background-color: #CA7F26;
    color: #ffffff;
}

.control-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checker-section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #64748b;
    /* Soft dark grey */
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: none;
    border: none;
    box-shadow: none;
    display: block;
    width: 100%;
}

/* Bolas Seleccionables - Minimalist/Flat */
.num-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    /* Explicit border again */
    background: #ffffff;
    color: #64748b;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    /* No shadow */
}

/* Remove shiny pseudo-element */
.num-btn::after {
    display: none;
}

.num-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* very subtle hover shadow */
}

/* Estado Seleccionado - Main (EuroJackpot Dark Green) */
.num-btn.selected.main {
    background: #0b2309;
    border-color: #0b2309;
    color: #CA7F26;
    box-shadow: none;
    text-shadow: none;
    transform: scale(1.05);
}

/* Estado Seleccionado - Star (EuroJackpot Gold) */
.num-btn.selected.star {
    background: #CA7F26;
    border-color: #CA7F26;
    color: #ffffff;
    box-shadow: none;
    text-shadow: none;
    transform: scale(1.05);
}

.number-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

/* Actions */
.checker-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 2.5rem;
}

.btn-check {
    background: linear-gradient(180deg, #69A507 0%, #4d7c04 100%);
    color: white;
    font-size: 1.35rem;
    font-weight: 800;
    padding: 1.25rem 4rem;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 20px rgba(77, 124, 4, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
}

.btn-check:hover:not(:disabled) {
    background: linear-gradient(180deg, #74b808 0%, #568b05 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(77, 124, 4, 0.3);
}

.btn-check:disabled {
    background: rgba(255, 255, 255, 0.5);
    color: #64748b;
    cursor: default;
    box-shadow: none;
    transform: none;
    text-shadow: none;
    border: 2px dashed #cbd5e1;
    opacity: 0.7;
}

.btn-reset {
    background: none;
    border: none;
    color: #94a3b8;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-reset:hover {
    color: #64748b;
}

/* FAQ Accordion Styles */
.faq-accordion {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #eef2f6;
    background: #ffffff;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid #eef2f6;
}

.faq-trigger {
    width: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 2rem;
    transition: background 0.2s ease;
}

.faq-trigger:hover {
    background: #fcfdfe;
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CA7F26;
    opacity: 0.7;
    flex-shrink: 0;
}

.faq-question-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b2309;
}

.faq-plus {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
    content: '';
    position: absolute;
    background: #94a3b8;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.faq-plus::before {
    width: 14px;
    height: 2px;
}

.faq-plus::after {
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-plus::before {
    background: #CA7F26;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.faq-item.active .faq-content {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 1.5rem 2rem 4.5rem;
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-answer-inner {
        padding-left: 1.5rem;
    }

    .faq-question-text {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .checker-widget {
        padding: 1.5rem;
    }

    .num-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}