.text-center {
    text-align: center;
}

.assessment-section {
    display: none;
    position: relative;
}

.assessment-section.active {
    display: block;
}

.separator {
    width: 250px;
    height: 2px;
    background-color: #9A5C1A80;
    margin: auto;
    border-radius: 1px;
}

.progress-bar {
    width: clamp(320px, 31.25vw, 600px) !important;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #8B4513;
    width: 20%;
    transition: width 0.3s ease;
}

.welcome-content,
.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

#contact-section label {
    display: flex;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

#contact-section input {
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    padding: 15px 10px;
}

.contact-form {
    width: clamp(320px, 31.25vw, 600px) !important;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.sec-btn {
    background-color: #FFFFFF !important;
    color: #482908 !important;
}

.sec-btn:hover {
    background-color: #482908 !important;
    color: #fff !important;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.progress-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.question-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.pagination-nav {
    display: flex;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.pagination-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-nav svg path {
    fill: #000;
}

.pagination-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-dot {
    width: clamp(24px, 1.667vw, 32px);
    height: clamp(24px, 1.667vw, 32px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f3f4f6;
    color: #6b7280;
}

.pagination-dot.completed {
    background-color: #10b981;
    color: white;
}

.pagination-dot.current {
    background-color: #8B4513;
    color: white;
}

.pagination-dot.completed:hover {
    background-color: #059669;
    cursor: pointer;
}

.pagination-dot.current:hover {
    background-color: #A0522D;
    cursor: pointer;
}

.pagination-dot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.option-button {
    border: 2px solid #E9E9E9 !important;
    background-color: #F8F9FA !important;
    color: #1A1A1A !important;
    border-radius: 15px !important;
    text-align: left;
    font-size: 16px !important;
    white-space: break-spaces;
}

.option-button:hover,
.option-button.selected {
    border: 2px solid #482908 !important;
    background-color: #F8F8F6 !important;
}

#question-counter,
#progress-percent {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

#primary-pillars,
#secondary-pillars,
#morning-practices,
#evening-practices,
#daytime-practices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pillar-card,
.practice-item {
    border: 1px solid #2E2E2E33;
    padding: 25px;
    border-radius: 12px;
}

.pillar-header h4,
.practice-item h4 {
    font-size: 20px;
}

.result-percentage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.result-percentage span,
.practice-item p {
    font-size: 14px;
    font-weight: 500;
    font-family: "Helvetica Now", Sans-serif;
    margin: 0;
}

.result-percentage div {
    color: #6B7280;
    font-size: 14px;
}

.results-section {
    margin-top: 60px;
}

.pillar-card .progress-bar {
    margin-bottom: 16px;
    width: 100% !important;
}

.progress-fill.color-severe {
    background-color: #FF6B2C;
}

.progress-fill.color-moderate {
    background-color: #E28D38;
}

.progress-fill.color-mild {
    background-color: #009688;

}

.color-moderate {
    color: #E28D38 !important;
}

.color-severe {
    color: #FF6B2C !important;
}

.color-mild {
    color: #009688 !important;
}

.counter-with-name {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.counter-with-name div {
    width: 32px;
    height: 32px;
    background: #482908;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.counter-with-name h4 {
    margin: 0;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    margin-bottom: 10px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    pointer-events: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    border-left: 4px solid #10b981;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.info {
    border-left-color: #3b82f6;
}

.toast-icon {
    margin-right: 12px;
    font-size: 20px;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.info .toast-icon {
    color: #3b82f6;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.toast-message {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    margin-left: 8px;
    transition: color 0.2s;
    font-size: 16px !important;
    padding: 0 !important;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
}

.toast-close:hover {
    color: #6b7280;
}

/* Loading overlay styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

.loading-spinner {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #d97706;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media (max-width: 1200px) {
    #primary-pillars,
    #secondary-pillars,
    #morning-practices,
    #evening-practices,
    #daytime-practices {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 767px) {
    #primary-pillars,
    #secondary-pillars,
    #morning-practices,
    #evening-practices,
    #daytime-practices {
        grid-template-columns: repeat(1, 1fr);
    }

    .pagination-dots {
        gap: 4px;
    }

    .question-pagination {
        gap: 10px;
    }
}

@media (max-width: 567px) {
    .form-actions,
    .navigation-buttons {
        flex-direction: column-reverse;
    }

    .form-actions button,
    .navigation-buttons button {
        width: 100%;
    }
}