@import url('https://fonts.googleapis.com/css2?family=Fleur+De+Leah&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.btn-primary {
    padding: 20px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: var(--Spacing-1-rem, 4px);
    background: var(--Stroke-Hover---Green, #7FCA27);
    color: var(--Text-Default---White, #FFF);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    border: unset;
}

.btn-primary:hover {
    background: #7cc02f;
}

.btn-primary:active {
    background-color: #7cc02f !important;
    border-color: unset !important;
    box-shadow: unset;
}

.btn-primary:focus {
    box-shadow: unset;
}

.btn-primary:disabled {
    background-color: #F8F8F8 !important;
    box-shadow: unset;
    color: var(--Text-Default---Gray, #8C8C8C);
}

.row {
    padding-left: 1rem;
    padding-right: 1rem;
}

.question-wrapper {
    padding: 24px;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    border-radius: 18px;
    border: 3px solid transparent;
    transition: filter 200ms linear, border-color 300ms linear, transform 200ms linear;
}

.question-wrapper.highlight {
    border: 3px solid #7FCA27;
    transform: scale(103%);
}

.question-number {
    aspect-ratio: 1;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background-color: #7FCA27;
    color: var(--Text-Default---White, #FFF);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 3px;
}

.question-title {
    font-size: 24px;
    font-weight: 600;
    padding-bottom: 8px;
}

.question-option-wrapper {
    margin: 24px 0;
    gap: 12px;
}

.question-option-wrapper label {
    border: 2px solid #E0E0E0;
    border-radius: 50px;
    padding: 12px 26px;
    transition: all 200ms linear;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    cursor: pointer;
}

.question-option-wrapper label input[type=radio] {
    appearance: none;
    margin-right: 12px;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    aspect-ratio: 1;
    outline: 1px solid #E0E0E0;
    border: 2px solid white;
}

.question-option-wrapper label:has(input[type=radio]:checked) {
    background-color: #79C025;
    border-color: transparent;
    color: white;
}

.question-option-wrapper label:has(input[type=radio]:checked) input[type=radio] {
    background-color: #7FCA27;
    outline: 1px solid white;
}

.certificate-wrapper {
}

.certificate-wrapper .title {
    top: 90px;
    margin-left: auto;
    margin-top: auto;
    left: 0;
    right: 0;
    text-align: center;
    color: #1a2b44 !important;
}

.certificate-wrapper .heading {
    font-size: 50px;
    font-family: "Fleur De Leah", cursive;
    color: #1a2b44 !important;
}

.certificate-wrapper .sub-heading {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    color: #1a2b44 !important;
}

.certificate-wrapper .result-wrapper {
    position: absolute;
    top: 290px;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.certificate-wrapper .result-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-wrapper .result-header {
    font-size: 22px;
    margin-bottom: 56px;
    font-family: 'Playfair Display', serif;
}

.certificate-wrapper .result {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
    color: #198754;
}

.certificate-wrapper .result-footer {
    font-size: 16px;
    margin-top: 56px;
    font-family: 'Playfair Display', serif;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.certificate-wrapper hr {
    border-top: 2px solid #323c26;
    opacity: 1;
    margin-top: 50px;
}

#certificateContainer {
    overflow: auto;
}

#certificateContainer img {
    width: 100%;
    height: auto;
}
