

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-title h1 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e293b;
}

.icon {
    width: 32px;
    height: 32px;
    stroke: #2563eb;
    stroke-width: 2;
    fill: none;
}

.header-actions {
    display: flex;
    gap: 8px;
}


/* Schedule Tabs */
.schedule-tabs {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.tab-item {
    display: flex;
    align-items: center;
}

.tab-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tab-btn.active {
    background: white;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover:not(.active) {
    color: #1e293b;
}

.active-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-left: 8px;
}

.delete-tab {
    margin-left: 4px;
    padding: 4px;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s;
}

.delete-tab:hover {
    color: #dc2626;
}

/* Schedule Grid */
.schedule-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.schedule-card-header {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.schedule-card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.schedule-card-header p {
    font-size: 14px;
    color: #64748b;
}

.schedule-table-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table thead th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.schedule-table thead th:first-child {
    position: sticky;
    left: 0;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    z-index: 10;
}

.schedule-table thead th:not(:first-child) {
    text-align: center;
    min-width: 150px;
}

.schedule-table tbody td {
    padding: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.schedule-table tbody td:first-child {
    position: sticky;
    left: 0;
    background: white;
    font-weight: 500;
    color: #1e293b;
    border-right: 1px solid #e2e8f0;
    z-index: 5;
}

.schedule-table tbody tr:hover {
    background: #f8fafc;
}

.schedule-table tbody tr:hover td:first-child {
    background: #f8fafc;
}

/* Slot Configuration */
.slot-container {
    border: 1px;
    border-radius: 8px;

}
.slot-container:hover {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.18);
    /*transform: translateY(-2px) scale(1.02);*/
}

.slot-container.enabled {
    border-style: dashed;
}

.slot-container.disabled {
    border-style: dashed;
    border-color: #d1d5db !important;
    background: #f9fafb !important;
}

.slot-content {
    padding: 5px;
}

.slot-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0px;
}

.slot-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    accent-color: #2563eb;
}

.slot-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.slot-config {
    display: none;
}

.slot-config.show {
    display: block;
}

.config-section {
    margin-bottom: 12px;
}

.config-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.responsibles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.responsible-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    font-size: 12px;
}

.responsible-chip button {
    margin-left: 4px;
    background: none;
    border: none;
    color: #1e40af;
    cursor: pointer;
    font-weight: bold;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.responsible-chip button:hover {
    color: #1d4ed8;
    background: rgba(29, 78, 216, 0.1);
}

.no-responsibles {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

/*.form-control {*/
/*    width: 100%;*/
/*    padding: 6px 8px;*/
/*    border: 1px solid #d1d5db;*/
/*    border-radius: 4px;*/
/*    font-size: 12px;*/
/*    transition: border-color 0.2s;*/
/*}*/

/*.form-control:focus {*/
/*    outline: none;*/
/*    border-color: #2563eb;*/
/*    box-shadow: 0 0 0 1px #2563eb;*/
/*}*/

/* Slot Colors */
.slot-primary {
    background: #dbeafe;
    border-color: #93c5fd;
}

.slot-primary-dark {
    background: rgb(44, 62, 80);
    border-color: rgb(147, 197, 253);
}

.slot-success {
    background: #dcfce7;
    border-color: #86efac;
}

.slot-pink {
    background: #f3e8ff;
    border-color: #c084fc;
}

.slot-danger {
    background: #fee2e2;
    border-color: #f87171;
}

.slot-pruple {
    background: rgb(193, 136, 249);
    border-color: rgb(237, 233, 254);
}
.slot-multiple {
    background: linear-gradient(135deg, #dbeafe 0%, #dcfce7 50%, #f3e8ff 100%);
    border-color: #6366f1;
}

.slot-unassigned {
    background: #fef3c7;
    border-color: #fbbf24;
}

/* Legend */
.legend {
    margin-top: 24px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
}

.legend h4 {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 12px;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border: 1px solid #8e8e8e;
    border-radius: 4px;
}

.legend-text {
    font-size: 14px;
    color: #374151;
}


/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 16px;
    }

    .header-actions {
        justify-content: center;
    }

    .schedule-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}
