/* ==========================================================================
   DesiDo Help & Support Page Styles (compact layout)
   Brand Theme: #C92959 (DesiDo Pink)
   ========================================================================== */

.help-support-page {
    max-width: 880px;
    margin: 0 auto;
}

.hs-shell {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 40px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* --------------------------------------------------------------------------
   1. Header + search
   -------------------------------------------------------------------------- */
.hs-header {
    text-align: center;
    margin-bottom: 20px;
}

.help-support-page .hs-title {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.hs-subtitle {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

.hs-search {
    position: relative;
    margin-bottom: 18px;
}

.hs-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
}

.hs-search-input {
    width: 100%;
    height: 48px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #F3F4F6;
    padding: 0 44px 0 46px;
    margin-bottom: 0;
    font-size: 15px;
    color: #111827;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.hs-search-input::placeholder {
    color: #9CA3AF;
}

.hs-search-input:focus {
    background: #ffffff;
    border-color: #C92959;
    box-shadow: 0 0 0 3px rgba(201, 41, 89, 0.08);
}

.hs-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #E5E7EB;
    color: #4B5563;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: none;
}

.hs-search.has-value .hs-search-clear {
    display: block;
}

/* --------------------------------------------------------------------------
   2. Audience cards (tabs)
   -------------------------------------------------------------------------- */
.hs-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.hs-category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    border-radius: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.hs-category-card:focus {
    outline: none;
}

.hs-category-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(201, 41, 89, 0.25);
}

.hs-category-couples {
    background: #FFF2F6;
    border-color: #F7CFDC;
}

.hs-category-suppliers {
    background: #EAF8F6;
    border-color: #BFE9E2;
}

.hs-category-card:not(.active) {
    opacity: 0.82;
}

.hs-category-card:not(.active):hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* Selected state: strong border, soft ring and a check badge */
.hs-category-card.active {
    opacity: 1;
}

.hs-category-couples.active {
    border-color: #C92959;
    box-shadow: 0 0 0 4px rgba(201, 41, 89, 0.12);
}

.hs-category-suppliers.active {
    border-color: #5DC9BA;
    box-shadow: 0 0 0 4px rgba(93, 201, 186, 0.22);
}

.hs-category-card.active::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.hs-category-couples.active::after {
    background-color: #C92959;
}

.hs-category-suppliers.active::after {
    background-color: #5DC9BA;
}

.hs-category-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
}

.hs-category-text {
    min-width: 0;
}

.hs-category-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.25;
}

.hs-category-sub {
    display: block;
    font-size: 12.5px;
    color: #6B7280;
    margin: 2px 0 0 0;
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   3. FAQ list (accordion)
   -------------------------------------------------------------------------- */
.hs-faq-section {
    margin-bottom: 20px;
}

.hs-section-title {
    font-size: 21px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px 0;
    letter-spacing: -0.01em;
}

.hs-section-sub {
    font-size: 13.5px;
    color: #6B7280;
    margin: 0 0 8px 0;
}

.hs-faq-list {
    border-top: none;
}

.hs-faq-item {
    border-bottom: 1px solid #EEF0F3;
}

.hs-faq-item[hidden] {
    display: none;
}

.hs-faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.hs-faq-header:focus {
    outline: none;
}

.hs-faq-header:focus-visible .hs-faq-question {
    color: #C92959;
}

.hs-faq-question {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.hs-faq-header:hover .hs-faq-question,
.hs-faq-item.active .hs-faq-question {
    color: #C92959;
}

.hs-faq-tag {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: #F3F4F6;
    color: #6B7280;
    display: none;
}

.hs-searching .hs-faq-tag {
    display: inline-block;
}

.hs-faq-toggle {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin: 0 4px 3px 0;
    border-right: 2px solid #6B7280;
    border-bottom: 2px solid #6B7280;
    transform: rotate(45deg);
    transition: transform 0.22s ease, border-color 0.2s ease;
}

.hs-faq-item.active .hs-faq-toggle {
    transform: rotate(-135deg) translate(-2px, -2px);
    border-color: #C92959;
}

.hs-faq-body {
    display: none;
    padding: 0 0 14px 0;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
}

.hs-faq-item.active .hs-faq-body {
    display: block;
}

.hs-faq-body p:last-child {
    margin-bottom: 0;
}

.hs-faq-empty {
    display: none;
    padding: 18px 0 6px;
    color: #6B7280;
    font-size: 14px;
}

.hs-faq-empty.show {
    display: block;
}

.hs-faq-empty a {
    color: #C92959;
    font-weight: 600;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. "Still need help?" banner + support links
   -------------------------------------------------------------------------- */
.hs-help-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #FEF5D6;
    border-radius: 16px;
    padding: 18px 26px;
    margin-bottom: 14px;
}

.hs-help-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px 0;
}

.hs-help-text {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.hs-btn-contact {
    flex-shrink: 0;
    width: auto;
    min-width: 0;
    padding: 0 22px;
    font-size: 15px;
}

.hs-flash {
    margin-bottom: 14px;
}



/* --------------------------------------------------------------------------
   4. WhatsApp & Email Support Cards (Left Column)
   -------------------------------------------------------------------------- */
.help-support-page .hs-card {
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

.help-support-page .hs-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.help-support-page .hs-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.help-support-page .hs-card-icon.hs-icon-whatsapp {
    background: #25D366 !important;
}

.help-support-page .hs-card-icon.hs-icon-email {
    background: #2563EB !important;
}

.help-support-page .hs-card-title {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 3px 0 !important;
}

.help-support-page .hs-card-text {
    font-size: 13.5px !important;
    color: #6B7280 !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

.help-support-page .hs-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #F0FDF4;
    border: 1px solid #DCFCE7;
    border-radius: 20px;
    padding: 4px 12px;
    color: #166534;
    font-size: 12px;
    font-weight: 500;
    margin: 10px 0 14px 0;
    line-height: 1.3;
}

.help-support-page .hs-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #16A34A;
    display: inline-block;
    flex-shrink: 0;
}

.help-support-page .hs-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25D366 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 10px !important;
    padding: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: opacity 0.15s ease;
}

.help-support-page .hs-btn-whatsapp:hover,
.help-support-page .hs-btn-whatsapp:focus {
    color: #ffffff !important;
    opacity: 0.92;
    text-decoration: none !important;
}

.help-support-page .hs-email-link {
    display: inline-block;
    margin-top: 6px;
    color: #2563EB !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.help-support-page .hs-email-link:hover,
.help-support-page .hs-email-link:focus {
    color: #1D4ED8 !important;
    text-decoration: underline !important;
}



/* Re-assert inherited colours inside the cards (global i/span colour rules otherwise darken icons and pill text) */
.help-support-page .hs-card i,
.help-support-page .hs-card span {
    color: inherit;
}

.help-support-page .hs-card .hs-card-icon i {
    color: #ffffff;
}

.help-support-page .hs-card .hs-btn-whatsapp {
    color: #ffffff !important;
}

.help-support-page .hs-card .hs-card-pill {
    color: #166534;
}

.help-support-page .hs-card .hs-pill-dot {
    background-color: #16A34A;
}

.help-support-page .hs-support-cards .hs-card {
    padding: 20px !important;
}

.help-support-page .hs-support-cards .hs-card-head {
    flex: 1 1 auto;
    margin-bottom: 14px;
}

.help-support-page .hs-support-cards .hs-card-head:last-child {
    margin-bottom: 0;
}

.help-support-page .hs-support-cards .hs-card-pill {
    margin: 10px 0 0 0;
}

.help-support-page .hs-support-cards .hs-btn-whatsapp {
    margin-top: auto;
}


/* Support cards row (cards themselves keep their original design) */
.hs-support-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.help-support-page .hs-support-cards .hs-card {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}

.help-support-page .hs-support-cards .hs-btn-whatsapp {
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   5. Contact modal
   -------------------------------------------------------------------------- */
.hs-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
    background: rgba(17, 24, 39, 0.55);
}

.hs-modal.open {
    display: flex;
}

body.hs-modal-open {
    overflow: hidden;
}

.hs-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 30px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hs-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #F3F4F6;
    color: #4B5563;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.hs-modal-close:hover {
    background: #E5E7EB;
}

.hs-contact-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.hs-contact-subtitle {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.hs-form-group {
    margin-bottom: 18px;
}

.btn_pink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 140px;
    height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    background: #C92959;
    background: linear-gradient(180deg, #DE507B 0%, #C42656 100%);
    color: #ffffff !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(196, 38, 86, 0.38);
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.btn_pink:hover {
    background: linear-gradient(180deg, #E55B86 0%, #B81E4B 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(196, 38, 86, 0.48);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.btn_pink:active {
    background: linear-gradient(180deg, #BD224E 0%, #B01B45 100%);
    box-shadow: 0 2px 6px rgba(196, 38, 86, 0.3);
    transform: translateY(1px);
}

.btn_pink:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(222, 80, 124, 0.3), 0 4px 14px rgba(196, 38, 86, 0.38);
}

/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .hs-shell {
        padding: 24px 18px 20px;
        border-radius: 18px;
    }

    .help-support-page .hs-title {
        font-size: 26px;
    }

    .hs-help-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .hs-btn-contact {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .hs-category-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    .hs-modal-dialog {
        padding: 24px 18px;
    }
}

/* Banner button: beat the generic .btn_pink width */
.help-support-page .hs-help-banner > div {
    flex: 1 1 auto;
    min-width: 0;
}

.help-support-page .hs-help-banner .hs-btn-contact {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 0 24px;
    font-size: 15px;
}

@media (max-width: 767px) {
    .help-support-page .hs-help-banner .hs-btn-contact {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Bootstrap 5 Floating Labels
   https://getbootstrap.com/docs/5.0/forms/floating-labels/
   -------------------------------------------------------------------------- */
.form-floating {
    position: relative;
    margin-bottom: 16px;
}

.form-floating>.form-control {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
    padding: 1rem 0.875rem;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14.5px;
    color: #111827;
    background-color: #ffffff;
    box-shadow: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-floating>textarea.form-control {
    height: 120px !important;
    min-height: calc(3.5rem + 2px);
    padding: 1.625rem 0.875rem 0.625rem;
    line-height: 1.5;
    resize: vertical;
}

.form-floating>label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem 0.875rem;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .15s ease-in-out, transform .15s ease-in-out, color .15s ease-in-out;
    color: #6B7280;
    font-size: 14.5px;
    font-weight: 400;
    margin-bottom: 0;
}

.form-floating>.form-control::placeholder {
    color: transparent !important;
}

.form-floating>.form-control::-webkit-input-placeholder {
    color: transparent !important;
}

.form-floating>.form-control::-moz-placeholder {
    color: transparent !important;
}

.form-floating>.form-control:-ms-input-placeholder {
    color: transparent !important;
}

.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating>.form-control:-webkit-autofill {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-control:-webkit-autofill~label {
    opacity: .85;
    transform: scale(.85) translateY(-.6rem) translateX(.15rem);
}

.form-floating>.form-control:focus {
    border-color: #C92959 !important;
    box-shadow: 0 0 0 3px rgba(201, 41, 89, 0.08) !important;
    outline: none !important;
}

.form-floating>.form-control:focus~label {
    color: #C92959;
    opacity: 1;
}

.form-floating>.form-control.is-invalid {
    border-color: #EF4444 !important;
}

.form-floating>.form-control.is-invalid~label {
    color: #EF4444;
}

.form-floating .invalid-feedback {
    margin-top: 4px;
}