/* Schedule styles - Next scheduled info, schedule list, toggle switch, edit button */

.next-scheduled-info {
    background: #e8f5e9;
    border-left: 4px solid #27ae60;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

body.dark-mode .next-scheduled-info {
    background: #1a2e1a;
}

.next-label {
    font-weight: 600;
    color: #27ae60;
    display: block;
    margin-bottom: 5px;
}

.next-time {
    font-size: 16px;
    color: #333;
}

body.dark-mode .next-time {
    color: #e0e0e0;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

body.dark-mode .schedule-item {
    background: #1a1a1a;
}

.schedule-item.disabled {
    opacity: 0.5;
    border-left-color: #95a5a6;
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-day {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

body.dark-mode .schedule-day {
    color: #e0e0e0;
}

.schedule-time {
    color: #3498db;
    font-weight: 500;
}

.schedule-title {
    color: #666;
    font-size: 13px;
}

body.dark-mode .schedule-title {
    color: #999;
}

.schedule-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

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

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

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #27ae60;
}

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

.btn-edit {
    padding: 6px 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.btn-edit:hover {
    background: #2980b9;
}

.scheduled-badge {
    display: inline-block;
    background: #9b59b6;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 8px;
}
