/* Dny Chleba 2026 – Registrace na akci */

.dc-akce-wrap {
    font-size: 0.95rem;
}

/* Rozcestník */
.dc-rozcestnik { text-align: left; padding: 2rem 0; }
.dc-rozcestnik-popis { font-size: 1.1rem; margin-bottom: 1.5rem; color: #555; }

.dc-volba-wrap {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.dc-volba-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 2rem 2.5rem;
    border: 2px solid var(--color-primary, #7c3aed);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    min-width: 200px;
    color: var(--color-primary, #7c3aed);
}
.dc-volba-btn:hover {
    background: var(--color-primary, #7c3aed);
    color: #fff;
    transform: translateY(-2px);
}
.dc-volba-btn strong { font-size: 1.1rem; }
.dc-volba-btn span   { font-size: 0.85rem; opacity: 0.8; }

/* Info box */
.dc-info-box {
    background: #f5f3ff;
    border-left: 4px solid var(--color-primary, #7c3aed);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
    text-align: left;
}
.dc-info-box h3, .dc-info-box h4 { margin: 0 0 0.6rem; font-size: 1rem; }
.dc-info-box ul { margin: 0; padding-left: 1.25rem; }
.dc-info-box li { margin-bottom: 0.3rem; }

/* Ceník tabulka */
.dc-cenik-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin-bottom: 1rem; }
.dc-cenik-table th, .dc-cenik-table td { border: 1px solid #ddd; padding: 6px 10px; text-align: left; }
.dc-cenik-table th { background: #ede9fe; }

/* Volné vstupenky – rozbalovací */
.dc-volne-vstupenky-detail { margin-top: 0.75rem; font-size: 0.85rem; }
.dc-volne-vstupenky-detail summary { cursor: pointer; color: var(--color-primary, #7c3aed); font-weight: 600; }
.dc-volne-vstupenky-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}
.dc-volne-vstupenky-grid table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.dc-volne-vstupenky-grid th,
.dc-volne-vstupenky-grid td { border: 1px solid #e5e7eb; padding: 4px 6px; }
.dc-volne-vstupenky-grid th { background: #f9fafb; }

/* Zpět tlačítko */
.dc-zpet-btn {
    background: none;
    border: none;
    color: var(--color-primary, #7c3aed);
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-decoration: underline;
}

/* Sekce formuláře */
.dc-section {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.dc-section h3 { margin: 0 0 1rem; font-size: 1.05rem; }

.dc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
@media (max-width: 560px) { .dc-row { grid-template-columns: 1fr; } }

.dc-section p { margin: 0 0 0.75rem; }
.dc-section label { display: block; font-size: 0.875rem; font-weight: 500; color: #374151; }
.dc-section input[type="text"],
.dc-section input[type="email"],
.dc-section input[type="tel"],
.dc-section input[type="number"],
.dc-section select,
.dc-section textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 4px;
    box-sizing: border-box;
}
.dc-section input:focus,
.dc-section select:focus,
.dc-section textarea:focus {
    outline: none;
    border-color: var(--color-primary, #7c3aed);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}
.dc-input-narrow { max-width: 120px !important; }

/* Osoby */
.dc-osoba-row {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: #fff;
}
.dc-osoba-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}
.dc-remove-osoba {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
}

.dc-add-btn {
    background: none;
    border: 1px dashed var(--color-primary, #7c3aed);
    color: var(--color-primary, #7c3aed);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    margin-right: 0.75rem;
}
.dc-add-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.dc-add-btn:not(:disabled):hover { background: #f5f3ff; }

.dc-osoby-count { font-size: 0.8rem; color: #6b7280; }
.dc-hint { font-size: 0.8rem; color: #6b7280; margin: 0 0 0.75rem; }

/* Pole skupiny */
.dc-field-group { margin-bottom: 1.25rem; }
.dc-field-label { font-size: 0.875rem; font-weight: 600; color: #374151; display: block; margin-bottom: 0.4rem; }
.dc-field-label small { font-weight: 400; color: #6b7280; }

.dc-radio-group { border: none; padding: 0; margin: 0 0 1rem; }
.dc-radio-group legend { font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 0.4rem; }
.dc-radio-label,
.dc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    cursor: pointer;
}
.dc-stoly-options { display: flex; flex-direction: column; gap: 0.35rem; }
.dc-cena-clen   { color: #166534; font-weight: 600; }
.dc-cena-neclen { color: #92400e; font-weight: 600; }

/* Souhrn ceny */
.dc-price-summary {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}
.dc-price-summary p { margin: 0 0 0.25rem; }
.dc-price-detail { font-size: 0.8rem; color: #6b7280; word-break: break-word; }

/* Chyba */
.dc-error-notice {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Submit */
.dc-submit-row { text-align: center; margin-top: 1.5rem; }
.dc-submit-btn {
    background: var(--color-primary, #7c3aed);
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.dc-submit-btn:hover:not(:disabled) { background: var(--color-secondary, #5b21b6); }
.dc-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Potvrzení */
.dc-success-wrap {
    text-align: center;
    padding: 3rem 1rem;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}
.dc-success-wrap h2 { color: #15803d; margin-bottom: 0.5rem; }

.req { color: #ef4444; }
