
.view-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.group-container {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}


.group-container h3 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    scroll-margin-top: 25px;
}

.items-container {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.item {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #f9f9f9;
}

.item-number {
    width: 40px;
    color: #888;
}

.item-question,
.item-answer {
    flex: 1;
    min-width: 250px;
    padding: 5px;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .item {
    display: flex;
    flex-wrap: wrap;
    }

    .item-number {
        width: auto;
        margin-bottom: 0px;
		font-size: 0.8rem;
		color: #088;
    }

    .item-question,
    .item-answer {
        width: 100%;
        margin: 0px 0;
    }
}

.back-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.back-button:hover {
    background: #45a049;
}



.clickable {
    cursor: pointer;
    transition: background-color 0.2s;
}

.clickable:hover {
    color: blue;
}


.item-question,
.item-answer {
    padding: 8px;
    border-radius: 4px;
}




.nav-buttons-container {
    position: fixed;
    bottom: 10px;
    left: 20px;
    display: flex;
    gap: 0.5rem;
    z-index: 1000;
    background-color: rgba(230, 230, 230, 0.7);
    padding: 0.3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-button {
    background-color: white;
    color: #666;
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-button:hover {
    background-color: #f7fafc;
    color: #4299e1;
    transform: translateY(-1px);
    border-color: #4299e1;
}

.nav-button.active {
    background-color: rgba(0, 0, 0, 0.8);
}


.mode-switch-container,
.back-button {
    display: none;
}

.mode-switch {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

.mode-switch:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.single-view-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.single-card {
    width: 90%;
    height: 80vh;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 20px;
}

.single-card .item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

.single-card .item-question,
.single-card .item-answer {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: 10px 0;
    padding: 1rem;
    text-align: center;
    min-width: unset;
    width: auto;
    background: none;
}

.single-card .item-number {
    position: absolute;
    bottom: -40px;
    right: 20px;
    font-size: 1.2rem;
    width: auto;
    color: #aaa;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .single-card {
        width: 95%;
        height: 80vh;
        padding: 20px;
    }

    .nav-buttons-container {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .single-card .item-number {
        bottom: -20px;
        right: 10px;
        font-size: 1rem;
    }
}

.slider-container {
    width: 95%;
    padding: 0px 20px 0px 20px;
    margin-bottom: 0px;
}

.progress-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #4299e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(66, 153, 225, 0.3);
}

.progress-slider::-webkit-slider-thumb:hover {
    background: #3182ce;
    transform: scale(1.1);
}

.progress-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #4299e1;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(66, 153, 225, 0.3);
}

.progress-slider::-moz-range-thumb:hover {
    background: #3182ce;
    transform: scale(1.1);
}

.progress-slider::-moz-range-progress {
    background: #4299e1;
    height: 6px;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .single-card {
        width: 95%;
        height: 60vh;
    }

    .slider-container {
        padding: 10px 15px 15px 15px;
    }
}