
/* =========================================================
   LogicProHub Digital Services
   ========================================================= */

.lph-digital-app,
.lph-digital-app * {
    box-sizing: border-box;
}

.lph-digital-app {
    --lph-bg: #07111f;
    --lph-panel: rgba(15, 27, 44, 0.82);
    --lph-panel-2: rgba(20, 35, 54, 0.92);
    --lph-border: rgba(255, 255, 255, 0.09);
    --lph-text: #f8fafc;
    --lph-muted: #94a3b8;
    --lph-soft: #cbd5e1;
    --lph-accent: #2dd4bf;
    --lph-accent-2: #22d3ee;
    --lph-accent-dark: #0f766e;

    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 22px 80px;
    color: var(--lph-text);
}


/* =========================================================
   Hero
   ========================================================= */

.lph-digital-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    padding: 34px 36px;

    border: 1px solid var(--lph-border);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(45, 212, 191, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 5% 110%,
            rgba(34, 211, 238, 0.11),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            rgba(18, 32, 49, 0.96),
            rgba(8, 18, 32, 0.96)
        );

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.2);
}

.lph-digital-hero::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    right: -100px;
    top: -120px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.07);
    pointer-events: none;
}

.lph-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;

    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--lph-accent);
}

.lph-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lph-accent);
    box-shadow:
        0 0 16px rgba(45, 212, 191, 0.8);
}

.lph-digital-hero h1 {
    margin: 0 0 10px !important;

    max-width: 800px;

    color: #ffffff !important;
    font-size: clamp(32px, 4vw, 50px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.035em;
    font-weight: 800 !important;
}

.lph-digital-hero p {
    max-width: 680px;
    margin: 0 !important;

    color: var(--lph-muted) !important;
    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   Service tabs
   ========================================================= */

.lph-service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 0 0 24px;
}

.lph-tab {
    appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 18px;

    border: 1px solid var(--lph-border) !important;
    border-radius: 999px !important;

    background:
        rgba(255, 255, 255, 0.045) !important;

    color: var(--lph-soft) !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.lph-tab:hover {
    color: #ffffff !important;
    border-color:
        rgba(45, 212, 191, 0.35) !important;

    background:
        rgba(45, 212, 191, 0.08) !important;

    transform: translateY(-1px);
}

.lph-tab.active {
    color: #042f2e !important;

    border-color: transparent !important;

    background:
        linear-gradient(
            135deg,
            var(--lph-accent),
            var(--lph-accent-2)
        ) !important;

    box-shadow:
        0 10px 28px
        rgba(45, 212, 191, 0.18);
}


/* =========================================================
   Filters
   ========================================================= */

.lph-digital-controls {
    display: grid;
    grid-template-columns:
        minmax(220px, 1fr)
        minmax(280px, 1.2fr);

    gap: 16px;

    margin-bottom: 20px;
    padding: 18px;

    border: 1px solid var(--lph-border);
    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.025);
}

.lph-field {
    margin: 0 0 18px;
}

.lph-digital-controls .lph-field {
    margin-bottom: 0;
}

.lph-field label {
    display: block;

    margin-bottom: 8px;

    color: var(--lph-soft) !important;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.lph-field input,
.lph-field select {
    width: 100%;
    min-height: 48px;

    margin: 0 !important;
    padding: 0 14px !important;

    border:
        1px solid
        rgba(255, 255, 255, 0.11) !important;

    border-radius: 11px !important;

    outline: none;

    background:
        rgba(3, 11, 21, 0.72) !important;

    color: #f8fafc !important;

    font-size: 14px !important;

    box-shadow: none !important;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.lph-field input::placeholder {
    color: #64748b !important;
}

.lph-field select option {
    color: #111827;
    background: #ffffff;
}

.lph-field input:focus,
.lph-field select:focus {
    border-color:
        rgba(45, 212, 191, 0.7) !important;

    box-shadow:
        0 0 0 3px
        rgba(45, 212, 191, 0.09) !important;

    background:
        rgba(4, 14, 25, 0.95) !important;
}


/* =========================================================
   Status
   ========================================================= */

.lph-status {
    display: flex;
    align-items: center;
    gap: 8px;

    min-height: 24px;
    margin: 18px 0 14px;

    color: var(--lph-muted) !important;

    font-size: 13px;
    font-weight: 600;
}

.lph-status:not(:empty)::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lph-accent);
}


/* =========================================================
   Product grid
   ========================================================= */

.lph-products {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(245px, 1fr)
        );

    gap: 14px;
}


/* =========================================================
   Product cards
   ========================================================= */

.lph-product-card {
    appearance: none;

    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 92px;

    gap: 14px;

    padding: 15px 16px !important;

    text-align: left;

    border:
        1px solid
        var(--lph-border) !important;

    border-radius: 16px !important;

    background:
        linear-gradient(
            145deg,
            rgba(19, 34, 52, 0.92),
            rgba(11, 23, 38, 0.92)
        ) !important;

    color: var(--lph-text) !important;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.12);

    cursor: pointer;

    overflow: hidden;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.lph-product-card::after {
    content: "›";

    position: absolute;

    right: 14px;
    top: 50%;

    transform:
        translateY(-50%)
        translateX(-4px);

    color: #64748b;

    font-size: 23px;
    font-weight: 300;

    opacity: 0;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.lph-product-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(45, 212, 191, 0.3) !important;

    box-shadow:
        0 15px 38px
        rgba(0, 0, 0, 0.22);
}

.lph-product-card:hover::after {
    opacity: 1;

    transform:
        translateY(-50%)
        translateX(0);
}


/* =========================================================
   Product logos
   ========================================================= */

.lph-product-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 7px;

    border-radius: 13px;

    background: #ffffff;

    overflow: hidden;

    box-shadow:
        0 4px 15px
        rgba(0, 0, 0, 0.12);
}

.lph-product-logo img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.lph-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #14b8a6,
            #22d3ee
        );

    color: #042f2e;

    font-size: 22px;
    font-weight: 900;
}


/* =========================================================
   Product text
   ========================================================= */

.lph-product-info {
    min-width: 0;

    padding-right: 18px;
}

.lph-product-info strong {
    display: block;

    margin: 0 0 5px;

    overflow: hidden;

    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 750 !important;

    line-height: 1.3;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.lph-product-info span {
    display: block;

    color: var(--lph-muted) !important;

    font-size: 12px !important;
    font-weight: 600;

    line-height: 1.4;
}


/* =========================================================
   Product configuration panel
   ========================================================= */

.lph-product-panel {
    position: relative;

    margin-top: 28px;
    padding: 28px;

    border:
        1px solid
        rgba(45, 212, 191, 0.14);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(16, 31, 48, 0.98),
            rgba(8, 20, 34, 0.98)
        );

    color: var(--lph-text);

    box-shadow:
        0 25px 80px
        rgba(0, 0, 0, 0.3);
}

.lph-panel-close {
    position: absolute;
    top: 14px;
    right: 16px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid
        var(--lph-border) !important;

    border-radius: 50% !important;

    background:
        rgba(255, 255, 255, 0.05) !important;

    color: #cbd5e1 !important;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;
}

.lph-panel-close:hover {
    background:
        rgba(255, 255, 255, 0.1) !important;

    color: #ffffff !important;
}

.lph-selected-heading {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 26px;
    padding-right: 50px;
}

.lph-selected-heading h2 {
    margin: 0 0 3px !important;

    color: #ffffff !important;

    font-size: 22px !important;
    font-weight: 800 !important;
}

.lph-selected-heading p {
    margin: 0 !important;

    color: var(--lph-muted) !important;

    font-size: 13px;
}


/* =========================================================
   Amount buttons
   ========================================================= */

.lph-amount-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin: -4px 0 20px;
}

.lph-amount-buttons button {
    min-height: 38px;

    padding: 0 13px;

    border:
        1px solid
        var(--lph-border) !important;

    border-radius: 9px !important;

    background:
        rgba(255, 255, 255, 0.045) !important;

    color: var(--lph-soft) !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    cursor: pointer;

    transition: 0.18s ease;
}

.lph-amount-buttons button:hover {
    border-color:
        rgba(45, 212, 191, 0.4) !important;

    background:
        rgba(45, 212, 191, 0.1) !important;

    color: #ffffff !important;
}


/* =========================================================
   Primary action
   ========================================================= */

.lph-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    padding: 0 22px !important;

    border: 0 !important;
    border-radius: 11px !important;

    background:
        linear-gradient(
            135deg,
            var(--lph-accent),
            var(--lph-accent-2)
        ) !important;

    color: #052e2b !important;

    font-size: 14px !important;
    font-weight: 800 !important;

    cursor: pointer;

    box-shadow:
        0 12px 30px
        rgba(45, 212, 191, 0.16);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.lph-primary-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 16px 36px
        rgba(45, 212, 191, 0.24);
}

.lph-primary-button:disabled {
    opacity: 0.55;
    cursor: wait;
    transform: none;
}


/* =========================================================
   Quote
   ========================================================= */

.lph-quote {
    margin-top: 22px;
    padding: 21px;

    border:
        1px solid
        rgba(45, 212, 191, 0.14);

    border-radius: 16px;

    background:
        rgba(2, 12, 22, 0.55);

    color: var(--lph-text);
}

.lph-quote h3 {
    margin: 0 0 12px !important;

    color: #ffffff !important;

    font-size: 17px !important;
    font-weight: 800 !important;
}

.lph-quote-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 18px;

    padding: 12px 0;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);
}

.lph-quote-row span {
    color: var(--lph-muted) !important;

    font-size: 13px;
}

.lph-quote-row strong {
    color: #ffffff !important;

    font-size: 15px;
    font-weight: 800;
}

.lph-quote-note {
    margin: 15px 0 !important;

    color: #64748b !important;

    font-size: 12px !important;
    line-height: 1.55;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 800px) {

    .lph-digital-app {
        padding:
            20px 14px 60px;
    }

    .lph-digital-hero {
        padding: 26px 22px;

        border-radius: 19px;
    }

    .lph-digital-hero h1 {
        font-size:
            clamp(
                29px,
                9vw,
                40px
            ) !important;
    }

    .lph-digital-controls {
        grid-template-columns: 1fr;

        padding: 14px;
    }

    .lph-products {
        grid-template-columns: 1fr;
    }

    .lph-service-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .lph-service-tabs::-webkit-scrollbar {
        display: none;
    }

    .lph-tab {
        flex: 0 0 auto;
    }

    .lph-product-panel {
        padding: 22px 17px;
    }

    .lph-quote-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* =========================================================
   Keep select boxes visually consistent while focused
   ========================================================= */

.lph-digital-app .lph-field select,
.lph-digital-app .lph-field select:hover,
.lph-digital-app .lph-field select:focus,
.lph-digital-app .lph-field select:focus-visible,
.lph-digital-app .lph-field select:active {
    background: #ffffff !important;
    color: #111827 !important;

    border-color:
        rgba(45, 212, 191, 0.65) !important;

    box-shadow:
        0 0 0 3px
        rgba(45, 212, 191, 0.08) !important;

    outline: none !important;
}

.lph-digital-app .lph-field select option {
    background: #ffffff !important;
    color: #111827 !important;
}

/* =========================================================
   Keep select boxes visually consistent while focused
   ========================================================= */

.lph-digital-app .lph-field select,
.lph-digital-app .lph-field select:hover,
.lph-digital-app .lph-field select:focus,
.lph-digital-app .lph-field select:focus-visible,
.lph-digital-app .lph-field select:active {
    background: #ffffff !important;
    color: #111827 !important;

    border-color:
        rgba(45, 212, 191, 0.65) !important;

    box-shadow:
        0 0 0 3px
        rgba(45, 212, 191, 0.08) !important;

    outline: none !important;
}

.lph-digital-app .lph-field select option {
    background: #ffffff !important;
    color: #111827 !important;
}

/* =========================================================
   Destination select - force light native appearance
   ========================================================= */

#lph-digital-app #lph-country {
    -webkit-appearance: none !important;
    appearance: none !important;

    color-scheme: light !important;

    background-color: #ffffff !important;
    color: #111827 !important;

    border: 1px solid #d1d5db !important;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #475569 50%
        ),
        linear-gradient(
            135deg,
            #475569 50%,
            transparent 50%
        ) !important;

    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50% !important;

    background-size:
        5px 5px,
        5px 5px !important;

    background-repeat:
        no-repeat !important;

    padding-right: 42px !important;
}

#lph-digital-app #lph-country:hover,
#lph-digital-app #lph-country:focus,
#lph-digital-app #lph-country:focus-visible,
#lph-digital-app #lph-country:active {
    background-color: #ffffff !important;
    color: #111827 !important;

    border-color: #2dd4bf !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px
        rgba(45, 212, 191, 0.10) !important;
}

#lph-digital-app #lph-country option {
    background-color: #ffffff !important;
    color: #111827 !important;
}

/* =========================================================
   Recharge pricing mode
   ========================================================= */

.lph-pricing-mode {
    margin:
        -4px 0 24px;

    padding: 16px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    background:
        rgba(3, 12, 22, 0.45);
}


.lph-mode-label {
    margin-bottom: 10px;

    color: #cbd5e1;

    font-size: 12px;
    font-weight: 700;
}


.lph-mode-buttons {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;
}


.lph-mode-button {
    min-height: 44px;

    padding: 0 14px !important;

    border:
        1px solid
        rgba(255, 255, 255, 0.10) !important;

    border-radius: 10px !important;

    background:
        rgba(255, 255, 255, 0.045) !important;

    color:
        #cbd5e1 !important;

    font-size:
        13px !important;

    font-weight:
        750 !important;

    cursor: pointer;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}


.lph-mode-button:hover {
    color:
        #ffffff !important;

    border-color:
        rgba(
            45,
            212,
            191,
            0.35
        ) !important;
}


.lph-mode-button.active {
    border-color:
        transparent !important;

    background:
        linear-gradient(
            135deg,
            #2dd4bf,
            #22d3ee
        ) !important;

    color:
        #042f2e !important;

    box-shadow:
        0 8px 24px
        rgba(
            45,
            212,
            191,
            0.14
        );
}


.lph-mode-help {
    margin-top: 10px;

    color: #64748b;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   Selected amount buttons
   ========================================================= */

.lph-amount-buttons button.active {
    border-color:
        transparent !important;

    background:
        rgba(
            45,
            212,
            191,
            0.16
        ) !important;

    color:
        #5eead4 !important;

    box-shadow:
        inset 0 0 0 1px
        rgba(
            45,
            212,
            191,
            0.35
        );
}


/* =========================================================
   Quote recipient highlight
   ========================================================= */

.lph-recipient-result {
    margin:
        4px 0 10px;

    padding:
        14px 15px;

    border:
        1px solid
        rgba(
            45,
            212,
            191,
            0.16
        );

    border-radius:
        10px;

    background:
        rgba(
            45,
            212,
            191,
            0.055
        );
}


.lph-recipient-result strong {
    color:
        #5eead4 !important;

    font-size:
        17px !important;
}


.lph-quote-heading {
    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    margin-bottom:
        10px;
}


.lph-quote-mode {
    display:
        inline-block;

    margin-top:
        2px;

    color:
        #5eead4;

    font-size:
        11px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.05em;
}


@media (max-width: 600px) {

    .lph-mode-buttons {
        grid-template-columns:
            1fr;
    }

}
