/* Contactar soporte — modal flow on /soporte */

.sp-contact-modal__dialog {
    max-width: 520px;
}

.sp-contact-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 16px;
    font-size: 14px;
    color: #71717a;
}

.sp-contact-loading__spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e4e4e7;
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: spContactSpin 0.7s linear infinite;
    flex-shrink: 0;
}

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

.sp-contact-auth__text {
    margin: 0 0 20px;
    font-size: 15px;
    color: #52525b;
    line-height: 1.55;
}

.sp-contact-auth__btn {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.sp-contact-auth__hint {
    margin: 16px 0 0;
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.45;
}

.sp-contact-step__lead {
    margin: 0 0 16px;
    font-size: 15px;
    color: #52525b;
    line-height: 1.5;
}

.sp-contact-resources {
    margin: 0 0 14px;
}

.sp-contact-resources .soporte-row {
    min-height: 48px;
    padding: 12px 14px;
}

.sp-contact-resources .soporte-row-body {
    gap: 0;
}

.sp-contact-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
}

.sp-contact-notice__icon {
    flex-shrink: 0;
    display: flex;
    color: #d97706;
    margin-top: 1px;
}

.sp-contact-notice__text {
    margin: 0;
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}

.sp-contact-confirm-check {
    display: block;
    cursor: pointer;
    margin-bottom: 16px;
}

.sp-contact-confirm-check__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.sp-contact-confirm-check__card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1.5px solid #e4e4e7;
    border-radius: 12px;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.sp-contact-confirm-check__input:focus-visible + .sp-contact-confirm-check__card {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.sp-contact-confirm-check__input:checked + .sp-contact-confirm-check__card {
    border-color: #7c3aed;
    background: #faf5ff;
}

.sp-contact-confirm-check__box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 2px solid #d4d4d8;
    border-radius: 5px;
    background: #fff;
    position: relative;
}

.sp-contact-confirm-check__input:checked + .sp-contact-confirm-check__card .sp-contact-confirm-check__box {
    border-color: #7c3aed;
    background: #7c3aed;
}

.sp-contact-confirm-check__input:checked + .sp-contact-confirm-check__card .sp-contact-confirm-check__box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sp-contact-confirm-check__label {
    font-size: 14px;
    font-weight: 600;
    color: #18181b;
    line-height: 1.45;
}

.sp-contact-user-badge {
    margin: 0 0 14px;
    font-size: 13px;
    color: #71717a;
}

.sp-contact-desc {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.sp-contact-desc__label {
    font-size: 14px;
    font-weight: 700;
    color: #18181b;
}

.sp-contact-desc__hint {
    font-size: 13px;
    color: #71717a;
    line-height: 1.45;
}

.sp-contact-desc__input {
    font-family: var(--font-roobert);
    font-size: 15px;
    color: #18181b;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 11px 14px;
    resize: vertical;
    min-height: 120px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    width: 100%;
    box-sizing: border-box;
}

.sp-contact-desc__input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.sp-contact-error {
    margin: 0 0 12px;
    font-size: 13px;
    color: #dc2626;
    line-height: 1.4;
}

.sp-contact-continue {
    gap: 8px;
}

.sp-contact-continue__icon {
    flex-shrink: 0;
}

.sp-contact-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    font-size: 12px;
    color: #a1a1aa;
    line-height: 1.4;
    text-align: center;
}

.sp-contact-footer__icon {
    flex-shrink: 0;
    color: #a1a1aa;
}

.sp-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.sp-contact-actions--split {
    flex-direction: row;
    flex-wrap: wrap;
}

.sp-contact-actions--split .me-btn-secondary,
.sp-contact-actions--split .me-btn-primary {
    flex: 1 1 140px;
}

.sp-contact-actions .me-btn-primary,
.sp-contact-actions .me-btn-secondary {
    width: 100%;
}

@media (max-width: 400px) {
    .sp-contact-actions--split {
        flex-direction: column;
    }
}
