/* =========================================================
   PHONEORIGIN HOME CONTROL CENTRE V1
   ========================================================= */

.po-control-home {
    padding-top: 42px;
}


/* HEADER */

.po-control-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 27px;
}


.po-control-header h1 {
    margin: 6px 0 5px;

    font-family:
        Poppins,
        sans-serif;

    font-size:
        clamp(34px,4vw,46px);

    line-height: 1.08;

    letter-spacing: -1.6px;
}


.po-control-header p {
    margin: 0;

    color: var(--po-muted);

    font-size: 13px;
}


.po-control-shop-button {
    flex: 0 0 auto;

    gap: 9px;
}


/* =========================================================
   OVERVIEW CARDS
   ========================================================= */

.po-control-overview {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr)
        minmax(280px,.9fr);

    gap: 12px;
}


.po-control-balance-card,
.po-control-tier-card,
.po-control-actions-card {
    min-width: 0;

    padding: 20px;

    border:
        1px solid
        var(--po-border);

    border-radius: 14px;

    background:
        var(--po-surface);
}


.po-control-balance-card {
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(128,2,96,.16),
            transparent 62%
        ),
        var(--po-surface);
}


.po-control-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    color: #777983;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .8px;
}


.po-control-wallet-icon {
    width: 31px;
    height: 31px;

    display: flex;

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

    border:
        1px solid
        rgba(179,19,135,.20);

    border-radius: 9px;

    color: #dc8fc9;

    background:
        var(--po-accent-soft);

    font-size: 8px;
}


.po-control-balance,
.po-control-tier-name {
    margin-top: 17px;

    font-family:
        Poppins,
        sans-serif;

    font-weight: 800;
}


.po-control-balance {
    font-size:
        clamp(27px,3vw,35px);

    letter-spacing: -1.4px;
}


.po-control-tier-name {
    color: #db8bc6;

    font-size:
        clamp(20px,2vw,25px);

    overflow-wrap: anywhere;
}


.po-control-tier-badge {
    padding:
        4px
        7px;

    border-radius: 999px;

    color: #dc91c9;

    background:
        var(--po-accent-soft);

    font-size: 8px;
}


.po-control-balance-card p,
.po-control-tier-card p {
    min-height: 38px;

    margin:
        8px
        0
        14px;

    color: var(--po-muted);

    font-size: 10px;

    line-height: 1.5;
}


.po-control-card-action {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #cb80b8;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;
}


/* QUICK ACTIONS */

.po-control-action-list {
    margin-top: 12px;

    display: grid;
}


.po-control-action-list a {
    min-width: 0;

    display: grid;

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

    gap: 10px;

    align-items: center;

    padding:
        10px
        0;

    color: inherit;

    text-decoration: none;

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


.po-control-action-list a:last-child {
    border-bottom: 0;
}


.po-control-action-icon {
    width: 27px;
    height: 27px;

    display: flex;

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

    border-radius: 8px;

    color: #cb7fb8;

    background:
        rgba(128,2,96,.08);

    font-size: 10px;

    font-weight: 800;
}


.po-control-action-list a > span:nth-child(2) {
    min-width: 0;

    display: grid;

    gap: 2px;
}


.po-control-action-list strong {
    font-size: 10px;
}


.po-control-action-list small {
    color: #747680;

    font-size: 8px;
}


.po-control-action-list b {
    color: #686a73;

    font-size: 10px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.po-control-section {
    margin-top: 42px;
}


.po-control-section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 14px;
}


.po-control-section-heading h2 {
    margin: 5px 0 3px;

    font-family:
        Poppins,
        sans-serif;

    font-size: 23px;

    letter-spacing: -.5px;
}


.po-control-section-heading p {
    margin: 0;

    color: var(--po-muted);

    font-size: 10px;
}


/* =========================================================
   QUICK ACCESS
   ========================================================= */

.po-control-service-grid {
    display: grid;

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

    gap: 12px;
}


.po-control-service-panel {
    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.075);

    border-radius: 13px;

    background:
        rgba(255,255,255,.018);
}


.po-control-panel-heading {
    min-height: 59px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding:
        12px
        14px;

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


.po-control-panel-heading > div {
    display: grid;

    gap: 2px;
}


.po-control-panel-heading strong {
    font-size: 11px;
}


.po-control-panel-heading span {
    color: #747680;

    font-size: 8px;
}


.po-control-count {
    min-width: 25px;
    height: 25px;

    display: flex;

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

    padding: 0 6px;

    border-radius: 999px;

    color: #aaa !important;

    background:
        rgba(255,255,255,.045);

    font-size: 8px !important;

    font-weight: 800;
}


.po-control-empty-small {
    padding: 24px 15px;

    text-align: center;
}


.po-control-empty-small p {
    margin:
        0
        0
        6px;

    color: var(--po-muted);

    font-size: 10px;
}


.po-control-empty-small a {
    color: #c87db5;

    text-decoration: none;

    font-size: 9px;

    font-weight: 700;
}


/* FIRST USE */

.po-control-get-started {
    display: grid;

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

    gap: 17px;

    align-items: center;

    padding: 22px;

    border:
        1px solid
        var(--po-border);

    border-radius: 13px;

    background:
        var(--po-surface);
}


.po-control-get-started-icon {
    width: 43px;
    height: 43px;

    display: flex;

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

    border-radius: 11px;

    color: #d68bc2;

    background:
        var(--po-accent-soft);

    font-size: 19px;
}


.po-control-get-started h3 {
    margin:
        0
        0
        4px;

    font-size: 14px;
}


.po-control-get-started p {
    margin: 0;

    color: var(--po-muted);

    font-size: 10px;
}


/* =========================================================
   RECENT ORDERS
   ========================================================= */

.po-home-orders {
    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.075);

    border-radius: 13px;

    background:
        rgba(255,255,255,.018);
}


.po-home-order {
    min-width: 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        14px
        16px;

    color: inherit;

    text-decoration: none;

    border-bottom:
        1px solid
        rgba(255,255,255,.055);

    transition:
        background .15s ease;
}


.po-home-order:last-child {
    border-bottom: 0;
}


.po-home-order:hover {
    background:
        rgba(255,255,255,.025);
}


.po-home-order-main {
    min-width: 0;
}


.po-home-order-number {
    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;
}


.po-home-order-number strong {
    color: #eeeef1;

    font-size: 10px;
}


.po-home-order-status {
    padding:
        3px
        6px;

    border-radius: 999px;

    font-size: 7px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .4px;
}


.po-home-status-queue {
    color: #b8bac2;

    background:
        rgba(255,255,255,.055);
}


.po-home-status-pending {
    color: #eac75d;

    background:
        rgba(235,194,67,.09);
}


.po-home-status-successful {
    color: #7edba0;

    background:
        rgba(78,211,130,.09);
}


.po-home-status-refunded {
    color: #ff9393;

    background:
        rgba(255,100,100,.09);
}


.po-home-order-service {
    margin-top: 6px;

    overflow: hidden;

    color: #bfc0c6;

    font-size: 10px;

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


.po-home-order-date {
    margin-top: 3px;

    color: #686a72;

    font-size: 8px;
}


.po-home-order-price {
    flex: 0 0 auto;

    display: grid;

    gap: 3px;

    text-align: right;
}


.po-home-order-price strong {
    color: #f4f4f6;

    font-family:
        Poppins,
        sans-serif;

    font-size: 11px;
}


.po-home-order-price span {
    color: #b96ca6;

    font-size: 8px;

    font-weight: 700;
}


.po-control-empty-orders {
    padding: 30px;

    text-align: center;

    border:
        1px solid
        var(--po-border);

    border-radius: 13px;

    background:
        var(--po-surface);
}


.po-control-empty-orders p {
    margin:
        0
        0
        13px;

    color: var(--po-muted);

    font-size: 11px;
}


/* TABLET */

@media (max-width: 950px) {

    .po-control-overview {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }


    .po-control-actions-card {
        grid-column:
            1 / -1;
    }


    .po-control-action-list {
        grid-template-columns:
            repeat(
                3,
                minmax(0,1fr)
            );

        gap: 10px;
    }


    .po-control-action-list a {
        padding:
            11px
            10px;

        border:
            1px solid
            rgba(255,255,255,.055);

        border-radius: 9px;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .po-control-home {
        padding-top: 23px;
    }


    .po-control-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .po-control-shop-button {
        width: 100%;
    }


    .po-control-overview {
        grid-template-columns: 1fr;
    }


    .po-control-actions-card {
        grid-column: auto;
    }


    .po-control-action-list {
        grid-template-columns: 1fr;
    }


    .po-control-action-list a {
        padding:
            10px
            0;

        border:
            0;

        border-bottom:
            1px solid
            rgba(255,255,255,.055);

        border-radius: 0;
    }


    .po-control-service-grid {
        grid-template-columns: 1fr;
    }


    .po-control-section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 6px;
    }


    .po-control-get-started {
        grid-template-columns:
            auto
            minmax(0,1fr);
    }


    .po-control-get-started .po-btn {
        grid-column:
            1 / -1;

        width: 100%;
    }


    .po-home-order {
        align-items: flex-start;
    }


    .po-home-order-price {
        min-width: 70px;
    }

}
