body {
    margin: 0;
    padding: 0px;
    background: #f4f4f4;
}

/* Home page button */
.open-survey {
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
}

/* Modal background */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

/* Modal box (shared) */
.modal-content {
    width: 850px;
    background: #fff;
    padding: 20px;
    position: relative;
    border-radius: 6px;
    color:black;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

h2 {
    margin-top: 0;
    color:black;
}

/* =====================
   Survey popup styles
===================== */

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffc000;
    margin-bottom: 6px;
    padding: 6px 12px;
    border-radius: 6px;
}

.question-text {
    width: 70%;
    font-size: 14px;
    line-height: 1.3;
}

.answers {
    display: flex;
    gap: 5px;
}

.answer-btn {
    min-width: 70px;
    padding: 5px 12px;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    font-size: 13px;
    border-radius: 4px;
}

.answer-btn.yes.active {
    background: #009fe3;
    color: #fff;
}

.answer-btn.no.active {
    background: #ff0000;
    color: #fff;
}

.submit-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 14px;
    background: #1a237e;
    color: #fff;
    border: none;
    border-radius: 6px;
}

.submit-btn:disabled {
    background: #7c8ebe;
    cursor: not-allowed;
    opacity: 0.9;
}
/* =====================
   Result popup styles
===================== */

.result-wrapper {
    display: flex;
    gap: 20px;
}

/* Left: content (2/3) */
.result-left {
    flex: 2;
    overflow-y: auto;
}

.result-title {
    color: #0066ff;
}

.result-score {
    margin: 10px 0 15px;
}

/* Center-align buttons */
.result-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
/* Buttons */
.action-btn {
    padding: 10px 16px;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.action-btn.blue {
    background: #03a9f4;
}

.action-btn.orange {
    background: #ffc107;
    color: #000;
}


.result-box {
    border: 1px solid #000;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.5;
}

.result-box-2 {
    padding: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.5;
}
.result-box-2 p {
    margin: 4px 0;
}

.line-section {
    text-align: center;
}

.line-btn {
    background: #00b900;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    margin-bottom: 8px;
    cursor: pointer;
}

/* QR code */
.qr-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Right: mascot (1/3) */
.result-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-placeholder img {
    max-width: 300px;
    max-height: 450px;
    width: 100%;
    height: auto;
}


/* CTA survey button */
.cta-watch {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 220px;
    height: 56px;
    padding: 0 14px 0 26px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #d4148e 0%,
        #e63a7a 40%,
        #f39c12 100%
     );
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(214, 20, 142, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-watch:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(214, 20, 142, 0.45);
}

.cta-label {
    color: #ffffff;
    font-family: "Inter", "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

/* Right circular icon */
.cta-icon {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-icon svg {
    width: 28px;
    height: 28px;
    fill: #f39c12;
    margin-left: 2px; /* optical centering */
}
