#events input.reserve_time_btn,
#events input.select_another_btn,
#eventForm #save_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    
    padding: 11px 22px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    color: #ffffff;
    
    background: linear-gradient(135deg, #0F5AF2, #4F46E5);
    box-shadow: 0 14px 32px rgba(15,90,242,0.35);
    transition: all .18s ease-in-out;
}

/* Hover de botões */
#events input.reserve_time_btn:hover,
#events input.select_another_btn:hover,
#eventForm #save_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.35);
    filter: brightness(1.05);
}

/* Botão "Selecionar outro horário" (cinza) */
#events input.select_another_btn {
    background: #e5e7eb;
    color: #111827;
    box-shadow: none;
}

#events input.select_another_btn:hover {
    background: #d1d5db;
}

/* =========================
   TITULOS DO FORM
========================= */
#eventForm #start_date-block-container h3,
#eventForm #timeline-container h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f172a;
}

/* Labels */
#start_date-block-container .zend_form dt,
#start_date-block-container .zend_form dt b,
#start_date-block-container .zend_form dd label {
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
}

/* =========================
   TIMELINE DE HORÁRIOS
========================= */
#timeline-container table.timeline {
    width: 100%;
    border-spacing: 6px;
}

/* Células de horário */
.timeline td {
    padding: 8px 12px;
    text-align: center;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease-in-out;
}

/* Não trabalhado */
.timeline td.not_worked_time {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Horário livre */
.timeline td.free_time {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #111827;
}

.timeline td.free_time:hover {
    background: #eef2ff;
    border-color: #4F46E5;
}

/* Selecionado */
.timeline td.selected_time {
    background: linear-gradient(135deg, #0F5AF2, #4F46E5);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(15,90,242,0.5);
}

/* Reservado */
.timeline td.reserved_time {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    cursor: not-allowed;
}

/* =========================
   LOADING (overlay)
========================= */
div#loading {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    color: white;
    font-size: 15px;
    font-weight: 500;
}