/* ============================================
   Font Settings Modal Styles
   ============================================ */

.modal-font-settings {
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-font-settings .modal-body {
    overflow-y: auto;
    max-height: calc(80vh - 100px);
}

.font-section {
    margin-bottom: 24px;
}

.font-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.font-section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: #63b3ed;
    text-transform: uppercase;
    margin: 0;
}

.reset-btn {
    font-family: 'VT323', monospace;
    font-size: 14px;
    padding: 4px 12px;
    background: #742a2a;
    color: #fc8181;
    border: 2px solid #fc8181;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.reset-btn:hover {
    background: #fc8181;
    color: #1a202c;
    transform: scale(1.05);
}

.font-setting {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #2d3748;
}

.font-setting:last-child {
    border-bottom: none;
}

.font-label {
    font-family: 'VT323', monospace;
    font-size: 18px;
    color: #e2e8f0;
    min-width: 180px;
}

.font-slider {
    flex: 1;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: #1a202c;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.font-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #63b3ed;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #3182ce;
}

.font-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #63b3ed;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #3182ce;
}

.font-slider::-webkit-slider-runnable-track {
    height: 8px;
    background: linear-gradient(to right,
        #63b3ed 0%,
        #63b3ed var(--value, 50%),
        #1a202c var(--value, 50%),
        #1a202c 100%);
    border-radius: 4px;
}

.font-value {
    font-family: 'VT323', monospace;
    font-size: 16px;
    color: #63b3ed;
    min-width: 50px;
    text-align: right;
    font-weight: bold;
}

.font-divider {
    height: 1px;
    background: #4a5568;
    margin: 20px 0;
}

.font-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.font-category {
    background: rgba(45, 55, 72, 0.3);
    border: 1px solid #4a5568;
    border-radius: 8px;
    padding: 16px;
}

.font-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.font-category-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    color: #f6e05e;
    text-transform: uppercase;
}

.category-reset-btn {
    font-family: 'VT323', monospace;
    font-size: 12px;
    padding: 2px 8px;
    background: transparent;
    color: #a0aec0;
    border: 1px solid #4a5568;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.category-reset-btn:hover {
    background: #4a5568;
    color: #63b3ed;
}

.font-category-items {
    display: flex;
    flex-direction: column;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .modal-font-settings {
        max-width: 95%;
    }

    .font-label {
        min-width: 120px;
        font-size: 16px;
    }

    .font-section-title {
        font-size: 10px;
    }

    .font-category-title {
        font-size: 8px;
    }
}
