
/* ======================================================
   Question Cards
====================================================== */

.question-card {
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
}

/* Zebra stripes */
.question-card:nth-child(odd) {
    background-color: #ffffff;
}

.question-card:nth-child(even) {
    background-color: #e9ecef;
}

/* Radio option spacing */
.question-card .form-check {
    margin-top: 0.5rem;
}


/* ======================================================
   Rating Scale
====================================================== */

.rating-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.rating-scale input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.face-option {
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: 0.2s;
}

.face-option:hover {
    transform: scale(1.15);
}

.rating-scale input[type="radio"]:checked + .face-option {
    border-color: #0d6efd;
    background-color: #e7f1ff;
    transform: scale(1.15);
}


/* ======================================================
   Printed Tokens
====================================================== */

.token-box {
    border: 1px dashed #333;
    width: 150px;
    min-height: 80px;
    margin: 5px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.token {
    font-size: 1.1rem;
    font-weight: bold;
    overflow-wrap: anywhere;
}

.validity {
    font-size: 0.65rem;
    margin-top: 5px;
    line-height: 1.2;
}


/* ======================================================
   QR Codes
====================================================== */

.qr-code {
    display: flex;
    justify-content: center;
    margin: 15px auto;
}

.qr-code img,
.qr-code canvas {
    display: block;
}


/* ======================================================
   Print Layout
====================================================== */

@media print {
    .token-box {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .qr-code {
        break-inside: avoid;
    }
}


/* ======================================================
   Whistleblowing landing page
   ====================================================== */

.whistleblowing-container {
    max-width: 1100px;
    border-radius: 14px;
}

.section-heading {
    font-weight: 700;
    color: #203b5c;
}

/* Statistics */

.stat-card {
    padding: 22px 12px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    margin-top: 6px;
    font-weight: 600;
}

.stat-received .stat-number {
    color: #1976d2;
}

.stat-review .stat-number {
    color: #d18a20;
}

.stat-closed .stat-number {
    color: #198754;
}

/* Instructions */

.instruction-card {
    display: flex;
    align-items: stretch;
    gap: 14px;
    height: 100%;
    padding: 14px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    background: #fff;
}

.instruction-content {
    flex: 1;
    min-width: 0;
}

.step-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.step-heading h5 {
    margin: 0;
    color: #203b5c;
    font-weight: 700;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #203b5c;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.instruction-content p {
    margin-bottom: 0;
    line-height: 1.55;
}

.instruction-image {	
    width: 42%;
    max-width: 180px;
    min-height: 180px;
    object-fit: cover;
    border-radius: 6px;
    align-self: center;
}

/* Small screens */

@media (max-width: 575.98px) {
    .instruction-card {
        flex-direction: column;
    }

    .instruction-image {
        width: 100%;
        max-width: none;
        height: 190px;
    }
}

