/* Estilo para a página Home */
.home-page {
    display: block;
}

.week-schedule {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.day-column {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 15px;
    min-height: 300px;
}

.day-column h3 {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.subject-item {
    background-color: var(--bg-primary);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: move;
    border-left: 4px solid var(--accent-color);
}

.subjects-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background-color: var(--bg-secondary);
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    overflow-y: auto;
}

.subjects-panel.open {
    transform: translateX(0);
}

.toggle-subjects {
    position: fixed;
    right: 75px;
    bottom: 50px;
    background: linear-gradient(135deg, rgb(0, 255, 8) 0%, #000000 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 100; /* Garante que o botão fique acima do painel */
    transition: right 0.3s ease; /* Adiciona transição suave */
}

/* Quando o painel estiver aberto, movemos o botão para a esquerda */
.subjects-panel.open ~ .toggle-subjects {
    right: 270px; /* Largura do painel (250px) + margem (20px) */
}

.subject-item.dragging {
    opacity: 0.5;
}