body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f172a;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* OneChanger Theme */
.bg-oc-header {
    background-color: #bfae83;
}

.bg-oc-sidebar {
    background-color: #bfae83;
}

.bg-oc-main {
    background-color: #fcfbf9;
}

.bg-oc-yellow-header {
    background-color: #fceda4;
}

.bg-oc-blue-row {
    background-color: #6daae2;
}

/* Input Fields */
.oc-input {
    background-color: #d8d8d8;
    border: 1px solid #a0a0a0;
    border-radius: 4px;
    font-size: 11px;
    color: #444;
    padding: 0 4px;
    height: 22px;
    width: 100%;
}

/* Buttons */
.oc-btn {
    background: linear-gradient(to bottom, #dedede 0%, #c5c5c5 100%);
    border: 1px solid #a0a0a0;
    color: #404040;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.oc-btn:active {
    transform: translateY(1px);
}

/* Group Boxes */
.oc-group {
    border: 1px solid #c0c0c0;
    border-radius: 6px;
    padding: 8px;
    position: relative;
    margin-top: 8px;
}

.oc-legend {
    position: absolute;
    top: -9px;
    left: 10px;
    background: #fcfbf9;
    padding: 0 4px;
    color: #666;
    font-size: 10px;
}

/* Checkbox Custom */
.oc-checkbox {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #888;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    position: relative;
}

.oc-checkbox:checked {
    background-color: #0078d7;
    /* Windows Blue */
    border-color: #0078d7;
}

.oc-checkbox:checked::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -2px;
}

/* Hover Tooltip logic */
/* Global Tooltip (JS driven) */
.global-tooltip {
    position: fixed;
    background-color: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s;
}

.global-tooltip.visible {
    opacity: 1;
}

/* Comic Bubble */
.comic-bubble {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
    border: 2px solid black;
    z-index: 100;
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Guide Menu */
.guide-menu-btn {
    text-align: left;
    padding: 8px 12px;
    width: 100%;
    border-radius: 6px;
    font-size: 13px;
    color: #ccc;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.guide-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.guide-menu-btn.active {
    background: #3b82f6;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Modal Specifics */
.config-modal-body {
    background: #fdfaf5;
    font-size: 12px;
    color: #333;
}

.config-group {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px 10px 10px 10px;
    position: relative;
    margin-top: 10px;
}

.config-legend {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #fdfaf5;
    padding: 0 4px;
    color: #666;
    font-size: 11px;
}

/* Specific Layout Fix for Setting View (Requested by User) */
#view-setting {
    margin-top: -700px !important;
    padding-top: 20px !important;
}