/* ==========================================================================
   SISTEMA MULTI-STEP
   ========================================================================== */

/* Ocultar/mostrar steps */
.dtk-form-step {
    display: none;
}

.dtk-form-step.dtk-step-active {
    display: block;
}

/* Título de step */
.dtk-step-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Barra de progreso */
.dtk-progress-container {
    margin-bottom: 1.5rem;
}

.dtk-progress-track {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.dtk-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wp--preset--color--primary, #0073aa), var(--wp--preset--color--primary, #0073aa));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.dtk-progress-text {
    display: block;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Navegación de steps */
.dtk-form-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    justify-content: space-between;
}

.dtk-form-actions {
    margin-top: 2.5rem;
}

/* ==========================================================================
   MENSAJES DE ERROR Y ÉXITO
   ========================================================================== */

.dtk-form-message {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9375rem;
    line-height: 1.5;
    display: block;
}

.dtk-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
}

.dtk-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #dc3545;
    font-weight: 500;
}

/* ==========================================================================
   CALENDARIO VISUAL
   ========================================================================== */

.dtk-calendario-visual {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-top: 10px;
    max-width: 100%;
}

.dtk-calendario-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    font-size: 1.1em;
}

.dtk-calendario-month-title {
    flex: 1;
    text-align: center;
    font-weight: bold;
    text-transform: capitalize;
}

.dtk-calendario-nav {
    background: #2271b1;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1em;
    transition: background-color 0.2s ease;
    min-width: 40px;
}

.dtk-calendario-nav:hover {
    background: #135e96;
}

.dtk-calendario-nav:active {
    background: #0a4b78;
}

.dtk-calendario-weekday {
    font-weight: bold;
    text-align: center;
    padding: 8px;
    background: #f0f0f0;
    font-size: 0.9em;
}

.dtk-calendario-day {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    transition: background-color 0.2s ease;
}

.dtk-calendario-day.available {
    background: #fff;
    cursor: pointer;
}

.dtk-calendario-day.available:hover {
    background: #e0e0e0;
}

.dtk-calendario-day.selected {
    background: #2271b1;
    color: white;
    font-weight: bold;
}

.dtk-calendario-day.selected:hover {
    background: #135e96;
}

.dtk-calendario-day.unavailable {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
}

/* ==========================================================================
   CHECKBOX FIELDS
   ========================================================================== */

.dtk-form-field.dtk-field-checkbox .dtk-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
