﻿.useful-info-area {
    width: 982px;
    height: 1029px;
    background: var(--color-blue);
    border-radius: 62px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 30px;
}

.useful-info-navigation {
    width: 982px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    margin-top: 20px;
}

.useful-info-area .editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 3rem;
}

.useful-info-area h3 {
    margin-left: 15%;
    margin-top: 3%;
    color: var(--color-white);
    font-size: 55px;
    font-weight: 700;
}

.info-content {
    background: var(--color-white);
    padding: 30px 40px;
    border-bottom-right-radius: 62px;
    border-bottom-left-radius: 62px;
    flex: 1;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--color-black);
    display: flex;
    align-items: center;
    overflow-y: auto;
}

.text-display {
    width: 100%;
    line-height: 1.5;
    font-size: 32px;
    white-space: pre-line;
    padding: 10px;
    max-height: 800px;
    margin-top: -50px;
}

.nav-btn {
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background-color: var(--color-white);
    border-radius: 50%; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-btn img {
    width: 52px;
    height: 52px;
    transition: transform 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--color-blue); 
    transform: translateY(-3px); 
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.nav-btn:hover img {
    filter: brightness(0) invert(1); 
    transform: scale(1.1);
}

.nav-btn:active {
    transform: translateY(-1px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: var(--color-white);
}

.nav-btn.disabled:hover {
    background-color: var(--color-white);
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-btn.disabled img {
    filter: none;
}

.info-content::-webkit-scrollbar {
    width: 8px;
}

.info-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.info-content::-webkit-scrollbar-thumb {
    background: var(--color-blue);
    border-radius: 4px;
}

.info-content::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}