/* Font Size Settings - Shared CSS */
/* These classes are added to body element to control font size */

body.font-small {
    font-size: 14px;
}

body.font-medium {
    font-size: 16px;
}

body.font-large {
    font-size: 18px;
}

body.font-xlarge {
    font-size: 20px;
}

/* Settings Toggle Button */
.settings-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    transition: transform 0.3s;
}

.settings-toggle:hover {
    transform: scale(1.1);
}

/* Settings Panel */
.settings-panel {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    min-width: 200px;
}

.settings-panel.show {
    display: block;
}

.settings-panel h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.font-size-btn {
    display: block;
    width: 100%;
    padding: 10px 15px;
    margin: 8px 0;
    background: #f0f0f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
}

.font-size-btn:hover {
    background: #e0e0e0;
}

.font-size-btn.active {
    background: #667eea;
    color: white;
    font-weight: bold;
}
