* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #000;
            color: #fff;
            font-family: Arial, sans-serif;
        }

            .env-banner {
                width: 100%;
                height: 5px;
            }
        /* Header */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
        }

        .header-icon {
            color: #fff;
            font-size: 24px;
            background: none;
            border: none;
            cursor: pointer;
        }

        .header-logo {
            background-color: #c9a227;
            color: #000;
            font-weight: bold;
            font-size: 18px;
            width: 80px;
            height: 80px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Table */
        table {
            width: 100%;
            border-collapse: collapse;
        }

        td {
            padding: 6px 16px;
            font-size: 16px;
            border-bottom: 1px solid #333;
        }

        tr.current-hour {
            background-color: #2a2a2a;
            font-weight: bold;
        }

        .price-low {
            color: #4caf50;
        }

        .price-high {
            color: #ff6b35;
        }

        .price-normal {
            color: #fff;
        }

/* Settings Panel */
.settings-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 100;
}

.settings-overlay.open {
    display: block;
}

.settings-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: #111;
    z-index: 101;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.settings-panel.open {
    right: 0;
}

.settings-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.settings-group {
    margin-bottom: 25px;
}

.settings-label {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.settings-input {
    width: 100%;
    background: #222;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 10px;
}

.settings-input:focus {
    outline: none;
    border-color: #c9a227;
}

/* Toggle */
.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #222;
}

.toggle-label {
    color: #fff;
    font-size: 16px;
}

.toggle {
    position: relative;
    width: 50px;
    height: 28px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #333;
    border-radius: 28px;
    transition: 0.3s;
    cursor: pointer;
}

.toggle-slider:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 4px;
    bottom: 4px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .toggle-slider {
    background: #c9a227;
}

input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Time Range */
.time-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.time-row .settings-input {
    margin-bottom: 0;
}

.time-separator {
    color: #888;
}

/* Save Button */
.settings-save {
    width: 100%;
    background: #c9a227;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
}

.settings-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
}

.settings-status {
    color: #4caf50;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    min-height: 20px;
}

/* Summary checkboxes */
.summary-option {
    padding: 8px 0;
    border-bottom: 1px solid #222;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #c9a227;
    cursor: pointer;
}

/* Placeholder style for dev/staging */
.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #222;
    min-height: 60px;
}

.ad-placeholder span {
    color: #333;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Push content up so ad doesn't cover last row */
.content-wrap {
    padding-bottom: 100px;
}

.donation {
    text-align: center;
    padding: 5px;
}

.donate-btn {
    color: #c9a227;
    text-decoration: none;
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #c9a227;
    border-radius: 20px;
}

.ad-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #000;
    border-top: 1px solid #222;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-field {
    margin-bottom: 12px;
}

.settings-field-label {
    display: block;
    color: #888;
    font-size: 12px;
    margin-bottom: 4px;
    padding-left: 2px;
}

.donate-btn {
    color: #c9a227;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 16px;
    border: 1px solid #c9a227;
    border-radius: 20px;
}

.app-version {
    text-align: center;
    color: #444;
    font-size: 11px;
    padding-top: 20px;
    border-top: 1px solid #222;
    margin-top: 20px;
}

.settings-reset {
    width: 100%;
    background: none;
    color: #555;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    margin-top: 10px;
    cursor: pointer;
}

.settings-reset:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}
