/* krs-public-controls.css (extraido de krs-public.css)
 * Generado automaticamente — mantener bajo 600 lineas.
 */

/* Spinner for buttons & inline elements */
.krs-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: krsSpin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes krsSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Touch UI Selector - checkable buttons */
.krs-tui-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid var(--kuad-krs-border);
    border-radius: 16px;
    padding: 6px;
    margin-top: 8px;
    box-sizing: border-box;
    width: 100%;
}

.kuad-krs-booking-widget.krs-dark-mode .krs-tui-selector {
    background: #1e293b;
    border-color: #334155;
}

.krs-tui-option {
    position: relative; /* Relative for absolute badges */
    flex: 1 1 calc(50% - 8px);
    min-width: 120px;
    height: auto !important;
    min-height: 48px;
    padding: 10px 14px !important;
    border: 1px solid var(--kuad-krs-border);
    background: var(--kuad-krs-bg);
    color: var(--kuad-krs-text);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.kuad-krs-booking-widget.krs-dark-mode .krs-tui-option {
    border-color: #334155;
    background: #0f172a;
    color: #cbd5e1;
}

.krs-tui-option:hover {
    background: var(--kuad-krs-surface);
    border-color: #cbd5e1;
    color: #2D1A68;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.kuad-krs-booking-widget.krs-dark-mode .krs-tui-option:hover {
    background: #1e293b;
    border-color: #475569;
    color: #ffffff;
}

.krs-tui-option.active {
    background: #2D1A68 !important;
    color: #FFFFFF !important;
    border-color: #2D1A68 !important;
    box-shadow: 0 4px 12px rgba(45, 26, 104, 0.25);
}

.kuad-krs-booking-widget.krs-dark-mode .krs-tui-option.active {
    background: #2D1A68 !important;
    color: #FFFFFF !important;
    border-color: #2D1A68 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hide validation icon when Touch UI selector is present */
.krs-tui-selector ~ .krs-validation-icon {
    display: none !important;
}

/* Corporate Buttons & Styling Overrides for Public Widget */
.ks-global-inputs-system-button,
.ks-global-inputs-system-submit,
.ks-global-inputs-system-button-remove {
    height: 48px !important;
    padding: 0 24px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.ks-global-inputs-system-button:not([style*="display: none"]):not([style*="display:none"]),
.ks-global-inputs-system-submit:not([style*="display: none"]):not([style*="display:none"]),
.ks-global-inputs-system-button-remove:not([style*="display: none"]):not([style*="display:none"]) {
    display: inline-flex !important;
}

.ks-global-inputs-system-button {
    background-color: #403A60 !important;
    color: #ffffff !important;
    border: 1px solid #403A60 !important;
    transition: all 0.25s ease !important;
}
.ks-global-inputs-system-button:hover {
    background-color: #ffffff !important;
    color: #403A60 !important;
    border-color: #403A60 !important;
}

.ks-global-inputs-system-submit {
    background-color: #1BA59D !important;
    color: #ffffff !important;
    border: 1px solid #1BA59D !important;
    transition: all 0.25s ease !important;
}
.ks-global-inputs-system-submit:hover {
    background-color: #ffffff !important;
    color: #1BA59D !important;
    border-color: #1BA59D !important;
}

.ks-global-inputs-system-button-remove {
    background-color: #B55C80 !important;
    color: #ffffff !important;
    border: 1px solid #B55C80 !important;
    transition: all 0.25s ease !important;
}
.ks-global-inputs-system-button-remove:hover {
    background-color: #ffffff !important;
    color: #B55C80 !important;
    border-color: #B55C80 !important;
}

