
/* =========================================================
   DASHBOARD EYDPAY
========================================================= */

/* =========================================================
   WALLET
========================================================= */

.eyd-wallet {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #FFC300;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.eyd-wallet::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -45px;
    top: -55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
}

.eyd-wallet::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: 55px;
    bottom: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
}

.eyd-wallet-body {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.eyd-wallet-label {
    font-size: 13px;
    color: rgba(0, 0, 0, .65);
    margin-bottom: 5px;
}

.eyd-wallet-balance {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyd-wallet-balance-value {
    font-size: 25px;
    font-weight: 800;
    color: #111;
    letter-spacing: -.3px;
}

.eyd-wallet-eye {
    border: 0;
    background: transparent;
    padding: 0;
    color: #222;
    line-height: 1;
}

.eyd-wallet-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.eyd-wallet-action {
    min-width: 88px;
    border: 0;
    border-radius: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .92);
    color: #222;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.eyd-wallet-action:hover {
    color: #222;
    background: #fff;
}

.eyd-wallet-action i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
}

.eyd-wallet-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 46px;
    color: rgba(0, 0, 0, .18);
}

/* =========================================================
   WALLET - MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .eyd-wallet-body {
        padding: 12px;
    }

    .eyd-wallet-actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
        margin-top: 14px;
        box-sizing: border-box;
    }

    .eyd-wallet-action {
        width: 78%;
        min-width: 0;
        max-width: 100%;
        justify-self: center;
        padding: 6px 1px;
        border-radius: 8px;
        font-size: 8px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .eyd-wallet-action i {
        display: block;
        font-size: 15px;
        margin-bottom: 2px;
        line-height: 1;
    }

    .eyd-wallet-icon {
        right: 10px;
        top: 10px;
        font-size: 36px;
    }

}

/* =========================================================
   BANTUAN
========================================================= */

.eyd-help-carousel {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
}

.eyd-help-track {
    display: flex;
    width: 200%;
    transition: transform .55s ease;
    will-change: transform;
}

.eyd-help-slide {
    flex: 0 0 50%;
    width: 50%;
    box-sizing: border-box;
}

.eyd-help-row {
    display: flex;
    width: 100%;
    gap: 8px;
}

.eyd-help-col {
    flex: 0 0 calc(50% - 4px);
    width: calc(50% - 4px);
    min-width: 0;
}

.eyd-help-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 100%;
    padding: 14px 8px;
    gap: 6px;
    text-align: center;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

/* UKURAN HURUF */

.eyd-help-card .eyd-summary-label {
    font-size: 10px;
}

.eyd-help-card .eyd-summary-value {
    font-size: 12px;
}

.eyd-help-card .eyd-summary-icon {
    flex-shrink: 0;
    margin: 0 auto;
}

.eyd-help-card .eyd-summary-content {
    width: 100%;
    text-align: center;
}

.eyd-help-card .eyd-summary-label,
.eyd-help-card .eyd-summary-value {
    text-align: center;
}

.eyd-help-card .eyd-summary-value a {
    text-decoration: none;
}

/* =========================================================
   CATEGORY CARD
========================================================= */

.eyd-category-card {
    margin-bottom: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
}

.eyd-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.eyd-category-title {
    display: flex;
    align-items: center;
    min-width: 0;
}

.eyd-category-main-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 12px;
    font-size: 20px;
}

.eyd-category-name {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.eyd-category-desc {
    margin-top: 2px;
    font-size: 10px;
    color: #888;
    line-height: 1.3;
}

.eyd-category-more {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
}

.eyd-category-more:hover {
    color: #222;
}

.eyd-category-more i {
    margin-left: 2px;
}

.eyd-category-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.eyd-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 8px 4px;
    border-radius: 12px;
    background: #ffffff;
    color: #333;
    text-decoration: none;
    text-align: center;
}

.eyd-category-item:hover {
    color: #222;
    background: #f1f2f4;
}

.eyd-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 5px;
    border-radius: 10px;
    font-size: 17px;
}

.eyd-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.eyd-category-item span {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}


/* =========================================================
   WALLET ACTION - MOBILE
========================================================= */

@media (max-width: 576px) {

    .eyd-wallet-actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
    }

    .eyd-wallet-action {
        min-width: 0;
        width: 100%;
        padding: 8px 4px;
        font-size: 11px;
        box-sizing: border-box;
    }

    .eyd-wallet-action i {
        font-size: 17px;
        margin-bottom: 3px;
    }

}

/* =========================================================
   SUMMARY
========================================================= */

.eyd-summary-card {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 82px;
    padding: 13px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
}

.eyd-summary-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
}

.eyd-summary-content {
    min-width: 0;
}

.eyd-summary-label {
    color: #777;
    font-size: 11px;
    margin-bottom: 2px;
}

.eyd-summary-value {
    color: #222;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
}


/* =========================================================
   SECTION
========================================================= */

.eyd-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.eyd-section-title {
    color: #222;
    font-size: 15px;
    font-weight: 700;
}

.eyd-section-link {
    color: #777;
    font-size: 11px;
    text-decoration: none;
}


/* =========================================================
   PROMO
========================================================= */

.eyd-promo-card {
    position: relative;
    overflow: hidden;
    min-height: 145px;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .05);
}

.eyd-promo-content {
    position: relative;
    z-index: 2;
    width: 72%;
    padding: 18px;
}

.eyd-promo-label {
    color: #999;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.eyd-promo-title {
    margin-top: 3px;
    color: #222;
    font-size: 17px;
    font-weight: 800;
}

.eyd-promo-text {
    margin-top: 4px;
    color: #777;
    font-size: 11px;
    line-height: 1.4;
}

.eyd-promo-button {
    display: inline-block;
    margin-top: 9px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #FFC300;
    color: #222;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.eyd-promo-icon {
    position: absolute;
    right: 25px;
    bottom: 10px;
    color: rgba(255, 195, 0, .30);
}

.eyd-promo-icon i {
    font-size: 85px;
}

/* =========================================================
   TRANSACTIONS
========================================================= */

.eyd-transactions-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .05);
}

.eyd-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
}

.eyd-section-title {
    color: #222;
    font-size: 13px;
    font-weight: 700;
}

.eyd-section-link {
    color: #666;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.eyd-section-link:hover {
    color: #222;
}

.eyd-transaction {
    display: flex;
    align-items: center;
    min-height: 68px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f1f1;
}

.eyd-transaction:last-child {
    border-bottom: 0;
}

.eyd-transaction-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 11px;
    font-size: 17px;
}

.eyd-transaction-info {
    flex: 1;
    min-width: 0;
}

.eyd-transaction-title {
    overflow: hidden;
    color: #222;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eyd-transaction-date {
    margin-top: 2px;
    color: #999;
    font-size: 9px;
}

.eyd-transaction-amount {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
