main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Progress indicator */
.navbar__progress {
    font-size: 22px;
    white-space: nowrap;
}

/* Prompt section */
.prompt-wrapper {
    margin: 48px 0;
    padding: 0 40px;
    text-align: center;
}

.prompt-header {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 400;
    margin: 0 auto 21px;
    max-width: 1200px;
}

.prompt-text, .results-text {
    color: var(--secondary-text);
    font-size: 18px;
    line-height: 1.5;
    margin: 0 auto 21px;
    max-width: 760px;
}

/* Form elements */
.form-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.message {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

.message input[type="checkbox"] {
    display: none;
}

.message label {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.message label .custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--nadiyno-yellow);
    border-radius: 3px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.message input[type="checkbox"]:checked + label .custom-checkbox {
    background-color: #fff;
}

.message input[type="checkbox"]:checked + label .custom-checkbox::after {
    content: '\2714';
    color: var(--nadiyno-blue);
    font-size: 14px;
    font-weight: 1000;
}

/* Message bubble */
.message-bubble {
    background-color: #f1f1f1;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.message-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 10px solid #f1f1f1;
    border-bottom: 10px solid transparent;
}

.message-link {
    text-decoration: underline;
    color: var(--nadiyno-blue);
}

/* Hint messages */
.hint-message {
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    margin-left: 43.2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
    opacity: 0;
    transform: translateY(10px);
    width: -webkit-fill-available;
}

.hint-message.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button styles */
.submit-container {
    text-align: center;
    margin-top: 20px;
}

#buttons, .results-buttons {
    align-items: center;
    column-gap: 15px;
    display: flex;
    justify-content: center;
}

.results-buttons a,
.results-buttons button {
    flex: 1;
    max-width: 222px;
}

.submit-container button,
.share-btn,
#nadiynoBtn,
#restartBtn {
    font-family: "SF UI Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--nadiyno-blue);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.quiz-result {
    font-size: 30px;
}

.submit-container button:hover,
.share-btn:hover,
#nadiynoBtn:hover,
#restartBtn:hover {
    background-color: var(--nadiyno-yellow);
    color: black;
}

/* Share section */
.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-icon {
    padding-right: 4px;
}

/* Info box */
.info-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--soft-blue-bg);
    border-radius: 8px;
    padding: 15px;
    max-width: 750px;
    border-left: 5px solid var(--nadiyno-blue);
    margin-bottom: 24px;
}

.info-icon {
    width: 48px;
    height: 48px;
    margin-right: 15px;
}

.info-text {
    text-align: left;
    font-size: 18px;
    color: #333;
}

/* Lists */
ul {
    margin: 20px;
    text-align: left;
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 15px;
}

ul li.good::before {
    content: "✅";
    margin-right: 8px;
}

ul li.bad::before {
    content: "⚠️";
    margin-right: 8px;
}

ul li.fact::before {
    content: "🤔";
    margin-right: 8px;
}

/* Additional media queries */
@media screen and (max-width: 1100px) {
    .navbar__progress {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    header {
        height: 90px;
    }

    .prompt-header {
        font-size: 36px;
    }

    .prompt-text, .results-text {
        font-size: 16px;
    }
    
    .share-btn {
        font-size: 0;
        background-color: unset;
    }
    
    .share-btn:hover {
        background-color: unset;
    }
    
    .share-icon {
        font-size: 50px;
        color: var(--nadiyno-blue);
        padding-right: 0;
    }
    
    .share-icon:hover {
        color: var(--nadiyno-yellow);
    }
}

@media screen and (max-width: 405px) {
    footer {
        font-size: 12px;
    }
}
