
/* =====================================================
   HUDUD SMART CONNECT 360
   مركز التواصل الذكي - V01
   شركة حدود الأفكار للاستقدام
   ===================================================== */


/* 01 - الإعدادات المركزية للتصميم */

.hudud-connect {
    --hc-primary: #102b45;
    --hc-secondary: #1e4263;
    --hc-gold: #bd9553;
    --hc-gold-light: #e5c58e;
    --hc-white: #ffffff;
    --hc-background: #f4f7fb;
    --hc-text: #102b45;
    --hc-muted: #64748b;
    --hc-border: #e2e8f0;
    --hc-whatsapp: #16865c;
    --hc-radius: 24px;
    --hc-speed: 280ms;
    --hc-shadow: 0 20px 60px rgba(16, 43, 69, .09);

    direction: rtl;
    font-family: "Cairo", sans-serif;
    padding: 85px 20px;
    color: var(--hc-text);
    background: var(--hc-background);
}

.hudud-connect *,
.hudud-connect *::before,
.hudud-connect *::after {
    box-sizing: border-box;
}


/* 02 - الحاوية الرئيسية */

.hudud-connect .hc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* 03 - عنوان القسم */

.hudud-connect .hc-heading {
    text-align: center;
    margin-bottom: 45px;
}

.hudud-connect .hc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hc-gold);
    font-size: 14px;
    font-weight: 800;
    padding: 8px 20px;
    background: rgba(189, 149, 83, .09);
    border-radius: 50px;
    letter-spacing: 1px;
}

.hudud-connect .hc-heading h2 {
    font-size: clamp(28px, 4vw, 45px);
    line-height: 1.6;
    margin: 15px 0 10px;
    color: var(--hc-primary);
    font-weight: 900;
}

.hudud-connect .hc-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--hc-muted);
    font-size: 16px;
    line-height: 2;
}


/* 04 - الهيكل الرئيسي */

.hudud-connect .hc-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: stretch;
}


/* 05 - المساعد الذكي */

.hudud-connect .hc-assistant {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 36px;
    border-radius: var(--hc-radius);
    background: linear-gradient(
        145deg,
        var(--hc-primary),
        var(--hc-secondary)
    );
    color: var(--hc-white);
    box-shadow: var(--hc-shadow);
}

.hudud-connect .hc-assistant::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -150px;
    left: -100px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(229, 197, 142, .22),
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

.hudud-connect .hc-assistant::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    bottom: -160px;
    right: -100px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 30px rgba(255,255,255,.025),
        0 0 0 60px rgba(255,255,255,.015);
    pointer-events: none;
    z-index: -1;
}


/* 06 - هوية المساعد الرقمي */

.hudud-connect .hc-orb {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(229,197,142,.5);
    background: rgba(255,255,255,.07);
    border-radius: 22px;
    color: var(--hc-gold-light);
    box-shadow: 0 0 30px rgba(189,149,83,.18);
    animation: hc-orb-float 5s ease-in-out infinite;
}

.hudud-connect .hc-orb svg {
    width: 32px;
    height: 32px;
}

@keyframes hc-orb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hudud-connect .hc-assistant h3 {
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 800;
    color: var(--hc-white);
    line-height: 1.7;
    margin: 20px 0 8px;
}

.hudud-connect .hc-assistant-intro {
    color: #d0deeb;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 25px;
}


/* 07 - شبكة خيارات العميل */

.hudud-connect .hc-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hudud-connect .hc-option {
    position: relative;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--hc-white);
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 16px;
    min-height: 92px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition:
        transform var(--hc-speed),
        background var(--hc-speed),
        border-color var(--hc-speed);
}

.hudud-connect .hc-option svg {
    width: 25px;
    height: 25px;
    color: var(--hc-gold-light);
}

.hudud-connect .hc-option:hover {
    transform: translateY(-3px);
    border-color: var(--hc-gold-light);
    background: rgba(255,255,255,.1);
}

.hudud-connect .hc-option[aria-pressed="true"] {
    border-color: var(--hc-gold-light);
    background: rgba(189,149,83,.19);
    box-shadow: inset 0 0 18px rgba(189,149,83,.08);
}


/* 08 - الرسالة الذكية */

.hudud-connect .hc-response {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    background: rgba(0,0,0,.13);
    animation: hc-response-enter .35s ease both;
}

@keyframes hc-response-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hudud-connect .hc-response-title {
    color: var(--hc-gold-light);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hudud-connect .hc-message {
    padding: 15px;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: var(--hc-white);
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.hudud-connect .hc-response-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}


/* 09 - وسائل التواصل المباشرة */

.hudud-connect .hc-channels {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hudud-connect .hc-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: var(--hc-white);
    color: var(--hc-text);
    border: 1px solid var(--hc-border);
    border-radius: 20px;
    text-decoration: none;
    min-height: 112px;
    box-shadow: 0 5px 20px rgba(16,43,69,.035);
    transition:
        transform var(--hc-speed),
        border-color var(--hc-speed),
        box-shadow var(--hc-speed);
}

.hudud-connect .hc-channel:hover {
    transform: translateY(-3px);
    border-color: var(--hc-gold);
    box-shadow: 0 12px 30px rgba(16,43,69,.09);
}

.hudud-connect .hc-channel-icon {
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #eef3f8;
    color: var(--hc-primary);
}

.hudud-connect .hc-channel-icon svg {
    width: 26px;
    height: 26px;
}

.hudud-connect .hc-channel[data-type="whatsapp"]
.hc-channel-icon {
    color: var(--hc-whatsapp);
    background: #e8f6ef;
}

.hudud-connect .hc-channel[data-type="email"]
.hc-channel-icon {
    color: #94703a;
    background: #faf4e8;
}

.hudud-connect .hc-channel-content {
    flex: 1;
    min-width: 0;
}

.hudud-connect .hc-channel-content h4 {
    color: var(--hc-primary);
    font-size: 17px;
    margin: 0 0 6px;
    font-weight: 800;
}

.hudud-connect .hc-channel-content p {
    color: var(--hc-muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    overflow-wrap: anywhere;
}

.hudud-connect .hc-arrow {
    color: var(--hc-gold);
    flex-shrink: 0;
    transition: transform var(--hc-speed);
}

.hudud-connect .hc-channel:hover .hc-arrow {
    transform: translateX(-4px);
}


/* 10 - الأزرار الموحدة */

.hudud-connect .hc-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 46px;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: filter var(--hc-speed);
}

.hudud-connect .hc-button:hover {
    filter: brightness(1.07);
}

.hudud-connect .hc-button-primary {
    background: var(--hc-whatsapp);
    color: var(--hc-white);
}

.hudud-connect .hc-button-secondary {
    background: rgba(255,255,255,.08);
    color: var(--hc-white);
    border-color: rgba(255,255,255,.2);
}

.hudud-connect .hc-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* 11 - حالات السلامة والتنبيهات */

.hudud-connect .hc-status {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 12px;
    color: var(--hc-gold-light);
}

.hudud-connect .hc-fallback {
    background: var(--hc-white);
    padding: 20px;
    border: 1px solid var(--hc-border);
    border-radius: 16px;
    text-align: center;
    line-height: 2;
}

.hudud-connect [hidden] {
    display: none !important;
}

.hudud-connect :focus-visible {
    outline: 3px solid var(--hc-gold-light);
    outline-offset: 4px;
}


/* 12 - الشريط الختامي */

.hudud-connect .hc-footer {
    margin-top: 25px;
    text-align: center;
    color: var(--hc-muted);
    font-size: 13px;
    line-height: 1.8;
}


/* 13 - توافق الأجهزة اللوحية */

@media (max-width: 900px) {
    .hudud-connect .hc-layout {
        grid-template-columns: 1fr;
    }

    .hudud-connect {
        padding: 65px 20px;
    }
}


/* 14 - توافق الجوال */

@media (max-width: 550px) {
    .hudud-connect {
        padding: 50px 14px;
        --hc-radius: 20px;
    }

    .hudud-connect .hc-heading {
        margin-bottom: 28px;
    }

    .hudud-connect .hc-heading p {
        font-size: 14px;
    }

    .hudud-connect .hc-assistant {
        padding: 24px 18px;
    }

    .hudud-connect .hc-options {
        gap: 10px;
    }

    .hudud-connect .hc-option {
        font-size: 12px;
        min-height: 88px;
    }

    .hudud-connect .hc-channel {
        padding: 17px;
        gap: 12px;
        min-height: 95px;
    }

    .hudud-connect .hc-channel-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .hudud-connect .hc-channel-content h4 {
        font-size: 15px;
    }

    .hudud-connect .hc-response {
        padding: 15px;
    }
}


/* 15 - احترام إعدادات تقليل الحركة */

@media (prefers-reduced-motion: reduce) {
    .hudud-connect *,
    .hudud-connect *::before,
    .hudud-connect *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =====================================================
   نهاية ملف تصميم مركز التواصل الذكي
   ===================================================== */
/* 16 - CONNECT 360 - PREMIUM EXPERIENCE */

.hudud-connect .hc-option {
    min-height: 155px;
    padding: 24px 14px;
    gap: 12px;
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,.09),
        rgba(255,255,255,.025)
    );
}

.hudud-connect .hc-option svg {
    width: 34px;
    height: 34px;
    color: var(--hc-gold-light);
}

.hudud-connect .hc-option strong {
    font-size: 16px;
    font-weight: 800;
}

.hudud-connect .hc-option small {
    font-size: 12px;
    font-weight: 400;
    color: #c3d3e2;
    line-height: 1.8;
}

.hudud-connect .hc-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.hudud-connect .hc-fallback {
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--hc-shadow);
}

.hudud-connect .hc-fallback a {
    display: inline-flex;
    justify-content: center;
    background: var(--hc-primary);
    color: #fff;
    padding: 13px 25px;
    margin-top: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 550px) {
    .hudud-connect .hc-option {
        min-height: 140px;
        padding: 18px 10px;
    }

    .hudud-connect .hc-option strong {
        font-size: 14px;
    }

    .hudud-connect .hc-option small {
        font-size: 11px;
    }
}/* =====================================================
   HUDUD CARE 360 - V1.2
   INTERACTIVE CUSTOMER EXPERIENCE
   ===================================================== */

#smart-contact {
    padding: 80px 24px;
    background:
        radial-gradient(
            ellipse at top right,
            rgba(189, 149, 83, .08),
            transparent 45%
        ),
        #f4f7fb;
}

#smart-contact .hc-container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
}

#smart-contact .hc-heading {
    margin-bottom: 42px;
}

#smart-contact .hc-heading h2 {
    font-size: clamp(28px, 3.5vw, 46px);
}

#smart-contact .hc-heading p {
    font-size: 15px;
    line-height: 1.9;
}


/* 01 - Main Layout */

#smart-contact .hc-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);
    align-items: stretch;
    gap: 24px;
}

#smart-contact .hc-assistant,
#smart-contact .hc-channels {
    min-width: 0;
}


/* 02 - Services Panel */

#smart-contact .hc-assistant {
    padding: 32px;
    border-radius: 26px;
    background: linear-gradient(
        145deg,
        #102b45,
        #1b405f
    );
}

#smart-contact .hc-assistant h3 {
    margin-top: 0;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.6;
}

#smart-contact .hc-assistant-intro {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 24px;
}

#smart-contact .hc-options {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
}


/* 03 - Premium Service Cards */

#smart-contact .hc-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: right;
    min-height: 145px;
    padding: 18px;
    gap: 8px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    transition:
        background .25s,
        border-color .25s,
        transform .25s;
}

#smart-contact .hc-care-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #e5c58e;
    background: rgba(189,149,83,.1);
}

#smart-contact .hc-care-icon svg {
    width: 25px;
    height: 25px;
    color: inherit;
}

#smart-contact .hc-option strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
}

#smart-contact .hc-option small {
    color: #b7cadb;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

#smart-contact .hc-option::after {
    content: "←";
    position: absolute;
    left: 15px;
    top: 18px;
    color: #e5c58e;
    font-size: 18px;
    opacity: .65;
}

#smart-contact .hc-option:hover {
    background: rgba(255,255,255,.09);
    border-color: #bd9553;
    transform: translateY(-2px);
}

#smart-contact .hc-option[aria-pressed="true"] {
    background: rgba(189,149,83,.16);
    border-color: #e5c58e;
    box-shadow: inset -3px 0 0 #e5c58e;
}

#smart-contact
.hc-option[aria-pressed="true"]
.hc-care-icon {
    background: #e5c58e;
    color: #102b45;
}

#smart-contact .hc-option:focus-visible,
#smart-contact a:focus-visible,
#smart-contact button:focus-visible {
    outline: 3px solid #bd9553;
    outline-offset: 3px;
}


/* 04 - Interactive Workspace */

#smart-contact .hc-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#smart-contact .hc-workspace {
    flex: 1;
    min-height: 380px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    box-shadow: 0 16px 45px
        rgba(16,43,69,.07);
    scroll-margin-top: 100px;
}

#smart-contact .hc-workspace-welcome {
    text-align: center;
}

#smart-contact .hc-workspace-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    background: #f5f0e7;
    border: 1px solid #e8dcc6;
    border-radius: 25px;
    color: #a68043;
}

#smart-contact .hc-workspace-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #a68043;
}

#smart-contact .hc-workspace h3 {
    font-size: clamp(23px, 2.5vw, 32px);
    line-height: 1.6;
    color: #102b45;
    margin: 10px 0;
}

#smart-contact .hc-workspace-welcome p {
    font-size: 15px;
    line-height: 2;
    color: #64748b;
    max-width: 370px;
    margin: 0 auto 25px;
}


/* 05 - Customer Journey */

#smart-contact .hc-workspace-steps {
    display: grid;
    gap: 12px;
    text-align: right;
}

#smart-contact .hc-workspace-steps > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    background: #f8fafc;
    color: #102b45;
    font-size: 14px;
    font-weight: 600;
}

#smart-contact .hc-workspace-steps span {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #102b45;
    color: #e5c58e;
    font-weight: 800;
}


/* 06 - Dynamic Response */

#smart-contact .hc-workspace-active {
    justify-content: flex-start;
}

#smart-contact .hc-workspace .hc-response {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    color: #102b45;
}

#smart-contact .hc-response-title {
    color: #102b45;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.8;
    margin-bottom: 20px;
}

#smart-contact .hc-message {
    background: #f4f7fb;
    border: 1px solid #e2e8f0;
    border-right: 4px solid #bd9553;
    border-radius: 14px;
    color: #334155;
    padding: 20px;
    font-size: 15px;
    line-height: 2;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

#smart-contact .hc-response-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
}

#smart-contact .hc-button {
    min-height: 48px;
    border-radius: 12px;
    font-size: 14px;
}

#smart-contact .hc-button-secondary {
    color: #102b45;
    background: #edf2f7;
    border: 1px solid #dce5ee;
}

#smart-contact .hc-button-secondary:hover {
    background: #e2e8f0;
}

#smart-contact .hc-status {
    color: #73531e;
    font-size: 13px;
}


/* 07 - Contact Access */

#smart-contact .hc-fallback {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

#smart-contact .hc-fallback p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
}

#smart-contact .hc-footer {
    margin-top: 28px;
    font-size: 13px;
    color: #64748b;
}

#smart-contact [hidden] {
    display: none !important;
}


/* 08 - Responsive Design */

@media (max-width: 900px) {

    #smart-contact {
        padding: 60px 20px;
    }

    #smart-contact .hc-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    #smart-contact .hc-workspace {
        min-height: 320px;
    }

}

@media (max-width: 550px) {

    #smart-contact {
        padding: 48px 14px;
    }

    #smart-contact .hc-assistant,
    #smart-contact .hc-workspace {
        padding: 22px 16px;
        border-radius: 20px;
    }

    #smart-contact .hc-options {
        gap: 9px;
    }

    #smart-contact .hc-option {
        padding: 12px;
        min-height: 139px;
        gap: 6px;
        border-radius: 14px;
    }

    #smart-contact .hc-option strong {
        font-size: 13px;
    }

    #smart-contact .hc-option small {
        font-size: 11px;
    }

    #smart-contact .hc-care-icon {
        width: 36px;
        height: 36px;
    }

    #smart-contact .hc-option::after {
        left: 10px;
        top: 12px;
        font-size: 14px;
    }

    #smart-contact .hc-message {
        padding: 15px;
        font-size: 14px;
    }

}

@media (max-width: 350px) {

    #smart-contact .hc-options {
        grid-template-columns: 1fr;
    }

}

@media (prefers-reduced-motion: reduce) {

    #smart-contact *,
    #smart-contact *::before,
    #smart-contact *::after {
        animation: none !important;
        transition: none !important;
    }

}/* =====================================================
   HUDUD CARE 360 - V1.3
   SMART JOURNEY EXPERIENCE
   ===================================================== */

#smart-contact .hc-journey {
    width: 100%;
    min-width: 0;
    text-align: right;
}


/* 01 - Journey Header */

#smart-contact .hc-journey-header {
    padding-bottom: 18px;
    border-bottom: 1px solid #e8edf2;
}

#smart-contact .hc-journey-kicker {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 30px;
    background: #f5f0e7;
    color: #86652f;
    font-size: 12px;
    font-weight: 700;
}

#smart-contact .hc-journey-header h3 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 12px 0 8px;
    color: #102b45;
}

#smart-contact .hc-journey-header p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}


/* 02 - Progress */

#smart-contact .hc-journey-progress {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0;
}

#smart-contact .hc-journey-progress span {
    padding: 10px 8px;
    background: #f4f7fb;
    border-radius: 9px;
    border-bottom: 3px solid #bd9553;
    color: #102b45;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}


/* 03 - Smart Form */

#smart-contact .hc-journey-label {
    display: block;
    margin: 18px 0 9px;
    font-size: 14px;
    font-weight: 800;
    color: #102b45;
}

#smart-contact .hc-journey-select,
#smart-contact .hc-journey-details {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #dce5ee;
    border-radius: 12px;
    background: #f8fafc;
    color: #102b45;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.8;
    transition:
        border-color .2s,
        box-shadow .2s;
}

#smart-contact .hc-journey-select {
    min-height: 52px;
    cursor: pointer;
}

#smart-contact .hc-journey-details {
    min-height: 105px;
    resize: vertical;
}

#smart-contact .hc-journey-select:focus,
#smart-contact .hc-journey-details:focus {
    outline: none;
    border-color: #bd9553;
    background: #ffffff;
    box-shadow: 0 0 0 3px
        rgba(189,149,83,.12);
}

#smart-contact .hc-journey-details::placeholder {
    color: #64748b;
}


/* 04 - Privacy Note */

#smart-contact .hc-journey-note {
    padding: 11px 13px;
    margin-top: 10px;
    background: #faf7f1;
    border-right: 3px solid #bd9553;
    border-radius: 8px;
    color: #806536;
    font-size: 12px;
    line-height: 1.9;
}


/* 05 - Journey Tools */

#smart-contact .hc-journey-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

#smart-contact .hc-journey-tool {
    min-height: 44px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #dce5ee;
    border-radius: 11px;
    color: #102b45;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background .2s,
        border-color .2s;
}

#smart-contact .hc-journey-tool:hover {
    background: #f5f0e7;
    border-color: #bd9553;
}

#smart-contact .hc-journey-feedback {
    margin: 10px 0;
    color: #16865c;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#smart-contact .hc-journey-feedback:empty {
    display: none;
}


/* 06 - Prepared Message */

#smart-contact .hc-workspace .hc-response {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
}

#smart-contact
.hc-journey:not([hidden])
~ .hc-response
.hc-response-title {
    display: none;
}

#smart-contact .hc-message {
    position: relative;
    padding: 42px 18px 18px;
    background: #f4f7fb;
    border-radius: 14px;
}

#smart-contact .hc-message::before {
    content: "رسالتك الجاهزة للتواصل";
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 12px;
    font-weight: 800;
    color: #86652f;
}

#smart-contact .hc-response-actions {
    margin-top: 15px;
}

#smart-contact .hc-button-secondary {
    background: #102b45;
    color: #ffffff;
    border-color: #102b45;
}

#smart-contact .hc-button-secondary:hover {
    background: #1e4263;
    color: #ffffff;
}


/* 07 - Mobile Experience */

@media (max-width: 550px) {

    #smart-contact .hc-journey-header h3 {
        font-size: 24px;
    }

    #smart-contact .hc-journey-header p {
        font-size: 13px;
    }

    #smart-contact .hc-journey-progress {
        gap: 6px;
    }

    #smart-contact .hc-journey-progress span {
        font-size: 11px;
    }

    #smart-contact .hc-journey-tool {
        font-size: 12px;
    }

    #smart-contact .hc-journey-select,
    #smart-contact .hc-journey-details {
        font-size: 16px;
    }

}

@media (max-width: 350px) {

    #smart-contact .hc-journey-tools {
        grid-template-columns: 1fr;
    }

}

@media (prefers-reduced-motion: reduce) {

    #smart-contact .hc-journey-select,
    #smart-contact .hc-journey-details,
    #smart-contact .hc-journey-tool {
        transition: none;
    }

}
/* =====================================================
   HUDUD CARE 360 - V1.4
   PROACTIVE KNOWLEDGE ASSISTANT
   ===================================================== */

#smart-contact .hc-knowledge-card {
    position: relative;
    margin: 16px 0 22px;
    padding: 20px;
    background: linear-gradient(
        145deg,
        #f0f7f5,
        #f8fdfb
    );
    border: 1px solid #d5e7e0;
    border-right: 4px solid #16865c;
    border-radius: 15px;
}

#smart-contact .hc-knowledge-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #145c43;
    font-size: 15px;
}

#smart-contact .hc-knowledge-heading::before {
    content: "i";
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #dceee7;
    color: #16865c;
    font-weight: 800;
}

#smart-contact .hc-knowledge-card p {
    margin: 14px 0;
    color: #35584b;
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}

#smart-contact .hc-knowledge-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #b9d8ca;
    border-radius: 10px;
    background: #ffffff;
    color: #145c43;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: background .2s;
}

#smart-contact .hc-knowledge-link[hidden] {
    display: none;
}

#smart-contact .hc-knowledge-link:hover {
    background: #dceee7;
}

#smart-contact .hc-knowledge-caption {
    display: block;
    margin-top: 12px;
    color: #527267;
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 550px) {

    #smart-contact .hc-knowledge-card {
        padding: 15px;
    }

    #smart-contact .hc-knowledge-card p {
        font-size: 13px;
    }

}

@media (prefers-reduced-motion: reduce) {

    #smart-contact .hc-knowledge-link {
        transition: none;
    }

}