/* ============================================================
   SEZNAM KONZULTAČNÍCH BLOKŮ
   ============================================================ */

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

.consultation-block-card {
    background: var(--color-bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: box-shadow var(--transition-fast);
}

.consultation-block-card:hover {
    box-shadow: var(--shadow-md);
}

.consultation-block-title {
    font-size: var(--font-size-large);
    font-weight: bold;
    margin-bottom: 4px;
}

.consultation-block-meta {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.consultation-block-slot-count {
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* ============================================================
   SLOTY VYBRANÉHO BLOKU
   ============================================================ */

/* .card je základní styl ze styles.css, tady jen doplňujeme spodní odsazení pro sekce na stránce */
#generate-slots-panel,
.new-note-form {
    margin-bottom: var(--spacing-lg);
}

.generate-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.generate-form input[type="number"] {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
}

.slot-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slot-row {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.slot-time {
    font-weight: 600;
    min-width: 110px;
    color: var(--color-text-primary);
}

.slot-row select {
    flex: 1;
    min-width: 180px;
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
}

/* ============================================================
   DETAIL SLOTU (overlay přes celou stránku)
   ============================================================ */

.slot-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--color-bg-primary);
    overflow-y: auto;
}

.slot-detail-panel {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.slot-detail-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.slot-detail-header h2 {
    font-size: var(--font-size-xlarge);
    color: var(--color-text-primary);
}

.slot-detail-section {
    margin-bottom: var(--spacing-xl);
}

.slot-detail-section h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-text-primary);
}

/* .note-list, .goal-list, .note-card, .goal-card, .note-card-header,
   .goal-card-header, .note-card-meta, .note-card-content,
   .goal-edit-form a .slot-block-header jsou ted v shared/components.css,
   sekce Domenove karty. .visibility-badge a .goal-status-badge jsou tam
   uz drive, sekce Stitky. */

@media (max-width: 767px) {
    .slot-row {
        flex-direction: column;
        align-items: stretch;
    }

    .generate-form {
        flex-direction: column;
        align-items: stretch;
    }
}
