/* Font size classes */
body.font-small {
    font-size: 14px;
}
body.font-medium {
    font-size: 16px; /* Default */
}
body.font-large {
    font-size: 18px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
    padding-top: 80px;
}

header {
    background: #4f46e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
}

form .form-group {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.submit-button {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.submit-button:hover {
    background: #3730a3;
}
/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        position: fixed;
        top: 0;
        left: -220px;
        width: 200px;
        height: 100%;
        padding: 60px 20px;
        box-shadow: 4px 0 15px rgba(0,0,0,0.2);
        transition: left 0.3s ease;
        z-index: 1000;
    }
    nav ul.active {
        display: flex;
        left: 0;
    }
    .menu-toggle {
        display: flex;
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    .sidebar-overlay.active {
        display: block;
    }
}

.status-warning { background-color: #ff9800; }

.setting-item {
    padding: 8px 15px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setting-item span {
    font-weight: 600;
}

.setting-item button, .setting-item select {
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
}

.setting-item button:hover, .setting-item select:hover {
    background-color: #f0f0f0;
}

#font-size-display {
    padding: 0 10px;
    font-weight: bold;
}
