@import url("https://fonts.maateen.me/bensen-handwriting/font.css");
@import url("https://fonts.maateen.me/solaiman-lipi/font.css");

/* Spinner */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.8);
}

.loader::before {
    content: "";
    display: block;
    --c: no-repeat linear-gradient(rgb(92, 44, 173) 0 0);
    background: var(--c), var(--c), var(--c), var(--c), var(--c), var(--c),
        var(--c), var(--c), var(--c);
    background-size: 16px 16px;
    width: 45px;
    height: 45px;
    animation: l32-1 1s infinite, l32-2 1s infinite;
}

@keyframes l32-1 {
    0%,
    100% {
        width: 45px;
        height: 45px;
    }
    35%,
    65% {
        width: 65px;
        height: 65px;
    }
}

@keyframes l32-2 {
    0%,
    40% {
        background-position: 0 0, 0 50%, 0 100%, 50% 100%, 100% 100%, 100% 50%,
            100% 0, 50% 0, 50% 50%;
    }
    60%,
    100% {
        background-position: 0 50%, 0 100%, 50% 100%, 100% 100%, 100% 50%,
            100% 0, 50% 0, 0 0, 50% 50%;
    }
}

.bensen {
    font-family: "BenSen Handwriting", cursive;
    font-weight: 600;
    /* color: rgb(255, 255, 255) !important; */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}
.solaiman {
    font-family: "SolaimanLipi", sans-serif;
    /* color: rgb(255, 255, 255) !important; */
}

/* Premium Dashboard Metrics */
.custom-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 20px !important;
    border: none !important;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.metric-card-primary { background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%); color: white; }
.metric-card-success { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); color: white; }
.metric-card-warning { background: linear-gradient(135deg, #f09819 0%, #edde5d 100%); color: white; }
.metric-card-info { background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%); color: white; }
.metric-card-danger { background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%); color: white; }

.metric-card .icon-container {
    background: rgba(255, 255, 255, 0.15);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.metric-card .metric-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-card .metric-value {
    font-size: 2rem;
    font-weight: 900;
    margin-top: 5px;
}

.bg-primary-soft { background-color: rgba(75, 108, 183, 0.1) !important; color: #4b6cb7 !important; }
.bg-success-soft { background-color: rgba(17, 153, 142, 0.1) !important; color: #11998e !important; }
.bg-warning-soft { background-color: rgba(240, 152, 25, 0.1) !important; color: #f09819 !important; }
.bg-info-soft { background-color: rgba(33, 147, 176, 0.1) !important; color: #2193b0 !important; }
.bg-danger-soft { background-color: rgba(235, 51, 73, 0.1) !important; color: #eb3349 !important; }

.icon-box {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

/* Transition Utility */
.transition-up {
    transition: all 0.3s ease;
}
.transition-up:hover {
    transform: translateY(-8px);
}

/* Product Card Premium Design */
.product-card {
    background: #ffffff;
    border-radius: 24px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12) !important;
}

.card-accent-line {
    height: 6px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 24px 24px 0 0;
}

.product-icon-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    font-size: 32px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.product-icon-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    opacity: 0.15;
    z-index: -1;
}

.product-card:hover .product-icon-container {
    transform: scale(1.1) rotate(-5deg);
}

.price-tag {
    background: #f8f9fa;
    padding: 8px 20px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.03);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.05);
    color: #666;
}


/* Admin Metric Redesign - Compact */
.compact-metric {
    border-radius: 15px !important;
    padding: 20px !important;
}

.metric-card-compact .icon-container {
    width: 45px !important;
    height: 45px !important;
    font-size: 20px !important;
    margin-bottom: 12px !important;
}

.metric-card-compact .metric-label {
    font-size: 0.75rem !important;
}

.metric-card-compact .metric-value {
    font-size: 1.4rem !important;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Premium Vibrant Gradients for Cards */
.card-gradient-blue {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%) !important;
}
.card-gradient-purple {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%) !important;
}
.card-gradient-rose {
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%) !important;
}
.card-gradient-amber {
    background: linear-gradient(135deg, #f09819 0%, #edde5d 100%) !important;
}
/* .text-white-all, 
.text-white-all .bensen, 
.text-white-all .solaiman, 
.text-white-all h5, 
.text-white-all .currency-label {
    color: #ffffff !important;
} */

.product-card .glass-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-white-all .product-icon-container {
    background: #ffffff !important;
    color: #1e3050 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.text-white-all .price-tag {
    background: #ffffff !important;
    border: none !important;
}

.text-white-all .price-tag span {
    color: #eb3349 !important; /* Keep price red for visibility */
}


.card-gradient-glass {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Modern Status Badges */
.status-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}
.status-submitted { background: rgba(75, 108, 183, 0.1); color: #4b6cb7; border-color: rgba(75, 108, 183, 0.2); }
.status-processing { background: rgba(240, 152, 25, 0.1); color: #f09819; border-color: rgba(240, 152, 25, 0.2); }
.status-completed { background: rgba(17, 153, 142, 0.1); color: #11998e; border-color: rgba(17, 153, 142, 0.2); }
.status-cancelled { background: rgba(235, 51, 73, 0.1); color: #eb3349; border-color: rgba(235, 51, 73, 0.2); }

.transaction-badge {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-deposit { background: #d1fae5; color: #065f46; }
.badge-expense { background: #fee2e2; color: #991b1b; }

/* Premium Action Buttons */
.btn-premium {
    border-radius: 50px !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    color: white !important;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    color: white !important;
}

.btn-premium-blue { background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%) !important; }
.btn-premium-purple { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%) !important; }
.btn-premium-green { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important; }
.btn-premium-orange { background: linear-gradient(135deg, #f09819 0%, #edde5d 100%) !important; }

/* Subtle pulse for the main action */
@keyframes soft-pulse {
    0% { box-shadow: 0 0 0 0 rgba(58, 123, 213, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(58, 123, 213, 0); }
    100% { box-shadow: 0 0 0 0 rgba(58, 123, 213, 0); }
}

.btn-pulse {
    animation: soft-pulse 2s infinite;
}

  