/*model styling*/
/* Question block */
.wlb-question {
    margin-bottom: 30px;
}

/* Question text */
.wlb-question p {
    font-size: 17px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

/* Tag container (reuse filters look) */
.wlb-options {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Use SAME style as .filter-tag */
.wlb-tag {
    display: inline-block; /* Allows the span to take a width */
    width: 150px;          /* Set your desired width */
    text-align: center;    /* Centers the text inside the span */
    /*margin: 2px;           !* Adds space around the tags *!*/
    padding: 4px 12px;
    border: 1px solid rgba(198, 167, 94, 0.4);
    border-radius: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wlb-tag:hover {
    border-color: #c6a75e;
    color: #ffffff;
}

/* Selected state */
.wlb-tag.active {
    background: #c6a75e;
    color: #0B0B0B;
    border-color: #c6a75e;
}

/* Result box */
.wlb-result {
    font-family: "Playfair Display", serif;
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(198, 167, 94, 0.3);
    background: rgba(198, 167, 94, 0.05);
    text-align: center;
}

.wlb-result h2 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    margin-bottom: 20px;
}

#wlb-trigger {
    cursor: pointer;
}

#wlb-trigger:hover {
    transform: translateY(-2px);
}

#wlb-trigger:active {
    transform: scale(0.98);
}

/* This rule only applies to elements that have BOTH classes */
.wlb-trigger.custom-spacing {
    color: #c6a75e;
    font-size: 20px;
    /*text-decoration: none;*/
    /*margin: 10px;*/
}


.hidden {
    display: none !important;
}

/* Overlay */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Active state */
.modal.active {
    display: flex;
}

.modal-content {
    background: #0B0B0B;
    border-radius: 18px;
    padding: 35px 40px;
    width: 90%;
    max-width: 820px;
    max-height: 95vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(198, 167, 94, 0.15);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.modal-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.quiz-footer {
    font-family: "Playfair Display", serif;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 5px;
    color: #666;
}

.quiz-footer a {
    font-family: "Playfair Display", serif;
    color: #c6a75e;
    text-decoration: none;
}

.quiz-footer p {
    font-family: "Playfair Display", serif;
    color: #c6a75e;
    font-size: 12px;
}


/* Close button */
.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.close:hover {
    color: #ffffff;
}

.wlb-submit-btn {
    margin-top: 25px;
    padding: 12px 28px;
    border-radius: 30px;
    background: #c6a75e;
    color: #0B0B0B;
    border: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Secondary button */
.wlb-secondary-btn {
    margin-top: 25px;
    padding: 12px 28px;
    border-radius: 30px;
    background: #c6a75e;
    color: #0B0B0B;
    border: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wlb-secondary-btn:hover {
    background: transparent;
    color: #c6a75e;
    border: 1px solid #c6a75e;
    transform: translateY(-1px);
}

.wlb-secondary-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.wlb-submit-btn:hover {
    background: transparent;
    color: #c6a75e;
    border: 1px solid #c6a75e;
    transform: translateY(-1px);
}

.wlb-submit-btn:active {
    transform: scale(0.98);
}

#prev-btn, #next-btn {
    width: 150px; /* Forces both to be the same size */
    text-align: center;
}

/*progress bar*/

#progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

#progress::after {
    content: "";
    display: block;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #c6a75e, #e6c97a);
    transition: width 0.3s ease;
}