.tda-advent-wrapper {
    max-width: 980px;
    margin: 32px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    color: #1e293b;
}

.tda-advent-header {
    text-align: center;
    margin-bottom: 28px;
}

.tda-advent-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #0f172a;
}

.tda-advent-subtitle {
    font-size: 16px;
    color: #475569;
    margin: 0 auto;
    max-width: 680px;
}

.tda-advent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 18px;
}

.tda-advent-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 145px;
    padding: 20px 14px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.tda-advent-box.is-unlocked:hover {
    transform: translateY(-4px);
    border-color: #2563eb;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.14);
}

.tda-advent-box.is-completed {
    border-color: #16a34a;
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
}

.tda-advent-box.is-locked {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f1f5f9;
}

.tda-advent-box-number {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: #1d4ed8;
    margin-bottom: 10px;
}

.tda-advent-box.is-completed .tda-advent-box-number {
    color: #15803d;
}

.tda-advent-box.is-locked .tda-advent-box-number {
    color: #64748b;
}

.tda-advent-box-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.tda-advent-box-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    display: none;
}

.tda-advent-box.is-completed .tda-advent-box-badge {
    display: inline-block;
    background: #16a34a;
    color: #fff;
}

/* Modal */
.tda-advent-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.tda-advent-modal.is-open {
    display: flex;
}

.tda-advent-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px);
}

.tda-advent-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
}

.tda-advent-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tda-advent-modal-close:hover {
    background: #e2e8f0;
}

.tda-advent-day-pill {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.tda-advent-question-title {
    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px;
}

.tda-advent-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.tda-advent-option-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    font-size: 15px;
    line-height: 1.45;
    color: #1e293b;
}

.tda-advent-option-label:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.tda-advent-option-label.is-selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.tda-advent-option-label input[type="radio"] {
    margin-top: 3px;
    accent-color: #2563eb;
    transform: scale(1.15);
}

.tda-advent-email-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 10px;
    animation: tdaFadeIn 0.25s ease;
}

@keyframes tdaFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.tda-advent-summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13.5px;
    color: #334155;
}

.tda-summary-item + .tda-summary-item {
    margin-top: 6px;
}

.tda-advent-field {
    margin-bottom: 14px;
}

.tda-advent-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #0f172a;
}

.tda-advent-field .required {
    color: #dc2626;
}

.tda-advent-field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
}

.tda-advent-field input[type="email"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.tda-advent-gdpr {
    margin-bottom: 16px;
    font-size: 13px;
    color: #475569;
}

.tda-advent-gdpr label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.tda-advent-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    margin-bottom: 14px;
}

.tda-advent-submit-btn {
    width: 100%;
    padding: 13px 20px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.tda-advent-submit-btn:hover {
    background: #1d4ed8;
}

.tda-advent-submit-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.tda-advent-success-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.tda-advent-success-title {
    text-align: center;
    font-size: 22px;
    margin: 0 0 8px;
}

.tda-advent-success-msg {
    text-align: center;
    color: #475569;
    margin: 0 0 22px;
}

/* Banner Sticky Bottom Promovare Concurs */
.tda-promo-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    padding: 12px 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    animation: tdaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tdaSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.tda-promo-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tda-promo-bar-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.tda-promo-bar-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.tda-promo-bar-text {
    font-size: 14.5px;
    line-height: 1.4;
    font-weight: 500;
    color: #f1f5f9;
}

.tda-promo-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tda-promo-bar-btn {
    background: #2563eb;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s ease, transform 0.1s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.tda-promo-bar-btn:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-1px);
    text-decoration: none;
}

.tda-promo-bar-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tda-promo-bar-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Optimizare mobil */
@media (max-width: 768px) {
    .tda-promo-bar {
        padding: 10px 12px;
    }

    .tda-promo-bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .tda-promo-bar-content {
        gap: 8px;
    }

    .tda-promo-bar-badge {
        font-size: 10px;
        padding: 3px 7px;
    }

    .tda-promo-bar-text {
        font-size: 13px;
        line-height: 1.35;
    }

    .tda-promo-bar-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .tda-promo-bar-btn {
        flex: 1;
        text-align: center;
        justify-content: center;
        padding: 8px 14px;
        font-size: 13.5px;
    }

    .tda-promo-bar-close {
        font-size: 24px;
        padding: 6px 10px;
    }
}

