﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    height: 100%;
    overflow-y: auto;
}

    /* Hide Scrollbar - Chrome, Safari */
    body::-webkit-scrollbar {
        width: 0px;
        background: transparent;
    }

/* Hide Scrollbar - Firefox */
body {
    scrollbar-width: none;
}

/* Hide Scrollbar - IE */
body {
    -ms-overflow-style: none;
}


/* Center Page */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login Box */
.login-container {
    position: relative;
    width: 380px;
    border-radius: 20px;
    overflow: hidden;
    background: url('img/bg-login.png') no-repeat center center;
    background-size: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Black Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

/* Content */
.login-content {
    position: relative;
    padding: 40px 35px;
    color: #fff;
    z-index: 2;
}

/* Logo */
.logo img {
    height: 80px;
}

/* Title */
.title {
    margin-bottom: 25px;
    font-weight: 600;
}

/* Form */
.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        font-size: 14px;
        margin-bottom: 5px;
        display: block;
    }

    .form-group input {
        width: 100%;
        padding: 12px 15px;
        border-radius: 12px;
        border: none;
        outline: none;
        background: #dcdcdc;
        box-shadow: inset 4px 4px 8px rgba(0,0,0,0.35), inset -4px -4px 8px rgba(255,255,255,0.9);
        font-size: 14px;
    }

        .form-group input:focus {
            box-shadow: inset 2px 2px 6px rgba(0,0,0,0.4), inset -2px -2px 6px rgba(255,255,255,1), 0 0 6px rgba(255,0,150,0.5);
        }



/* Button */
.login-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(45deg, #7b2ff7, #f107a3);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

    .login-btn:hover {
        transform: scale(1.05);
    }

/* Forgot */
.forgot {
    margin-top: 15px;
}

    .forgot a {
        color: #ddd;
        font-size: 14px;
        text-decoration: none;
    }

        .forgot a:hover {
            color: #fff;
        }

.brand-logo {
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}




/* ================= DESKTOP BACKGROUND ================= */
.desktop-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= MOBILE CONTAINER (PERMANENT FIX) ================= */
.mobile-container {
    width: 390px;
    min-width: 390px;
    max-width: 390px;
    min-height: 100vh; /* change from height */
    background: #f4f6f9;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* allow scroll */
}


.app {
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* ================= HEADER ================= */
.app-header {
    background: white;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.shop-select {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
}

    .shop-select img {
        width: auto;
        height: 50px;
    }

.dot {
    width: 8px;
    height: 8px;
    background: green;
    border-radius: 50%;
}

.header-icons i {
    font-size: 20px;
    margin-left: 14px;
}


.wallet-title {
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.wallet-amount {
    font-size: 28px;
    font-weight: 700;
}

.circle-row{
display:flex;
align-items:center;
gap:15px;
overflow-x:auto;
scroll-behavior:smooth;
padding-bottom:5px;

/* Hide scrollbar */
scrollbar-width:none;       /* Firefox */
-ms-overflow-style:none;    /* IE */
}

.circle-row::-webkit-scrollbar{
display:none;               /* Chrome */
}

.circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgb(0 0 0 / 8%);
}

.textcircle {
    position: absolute;
    width: 100%;
    height: 100%;
}

.inner-circle {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #333;
}



/* ================= ACTION BUTTONS ================= */

/* ================= ONLINE ORDERS ================= */
.online-orders {
    background: #fff;
    margin: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.online-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

    .online-left i {
        font-size: 18px;
    }

.chart-wrapper {
    background: #f3f4f6;
    margin-bottom: 80px;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 8px 8px 20px rgba(0,0,0,0.1), -8px -8px 20px rgba(255,255,255,0.9);
}

.chart-title {
    margin-bottom: 20px;
}

.chart-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: auto;
}

canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Corner Images */
.corner {
    position: absolute;
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* Positions */
.top-left {
    top: -15px;
    left: -15px;
}

.top-right {
    top: -15px;
    right: -15px;
}

.bottom-left {
    bottom: -15px;
    left: -15px;
}

.bottom-right {
    bottom: -15px;
    right: -15px;
}

/* ================= BOTTOM NAV ================= */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 390px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 4px 0 6px;
    border-top: 1px solid #eee;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 500; /* 🔥 MUST be higher */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #9aa0a6;
}

    .nav-item i {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .nav-item.active,
    .nav-item.active i {
        color: #8d53e8;
    }


.report-card {
    background: #fff;
    max-width: 340px;
    margin: 10px auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .card-header h6 {
        font-weight: 600;
        margin: 0;
    }

.report-btn {
    font-size: 13px;
    background: #f1f3f6;
    padding: 4px 10px;
    border-radius: 8px;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .report-btn i {
        order: -1;
    }

.current-value {
    text-align: center;
    margin-top: 15px;
}

    .current-value small {
        color: #777;
    }

    .current-value h2 {
        font-weight: 700;
        margin: 5px 0;
    }

.day-change {
    font-size: 13px;
    color: #666;
}

.profit {
    color: #28a745;
    font-weight: 600;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

.label {
    font-size: 12px;
    color: #777;
    margin: 5px 0 0;
}

h6 {
    font-weight: 600;
    margin: 2px 0 0;
}

.icon-gray {
    font-size: 20px;
    color: #888;
}

.icon-green {
    font-size: 20px;
    color: #28a745;
}

.icon-red {
    font-size: 20px;
    color: #dc3545;
}

.report-card .col-6 {
    position: relative;
}

    .report-card .col-6 i {
        position: absolute;
        left: 10px;
        top: 5px; /* ektu adjust korte paro */
        font-size: 18px;
    }

    .report-card .col-6 p,
    .report-card .col-6 h6 {
        margin: 0;
    }


/* Fund Card */
.fund-card {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.fund-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

    .fund-header h6 {
        font-weight: 600;
        margin-bottom: 4px;
    }

    .fund-header p {
        font-size: 13px;
        color: #777;
        margin: 0;
    }

.invest-btn {
    border: 1px solid #b30000;
    background: #fff;
    color: #b30000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

    .invest-btn:hover {
        background: #b30000;
        color: #fff;
    }

/* Details */
.fund-details {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

    .fund-details small {
        font-size: 12px;
        color: #777;
    }

    .fund-details h6 {
        margin-top: 4px;
        font-weight: 600;
    }

.green {
    color: #1ca64c;
}

.emboss-hr {
    border: none;
    height: 2px;
    background: #e0e0e0;
    margin: 20px 0;
    /* Emboss Effect */
    box-shadow: 0 -1px 0 #ffffff, 0 1px 2px rgba(0,0,0,0.2);
}

.chart-container {
    position: relative;
    width: 100%;
    height: 320px; /* 👈 fixed height না দিলে center ঠিক হবে না */
}


#donutChart {
    display: block;
    margin: auto;
}

.chart-center-btn {
    position: absolute;
    inset: 0; /* 👈 top left right bottom 0 */
    margin: auto; /* 👈 auto center */
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #5f2eea, #3a86ff);
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -32px;
    cursor: pointer;
    z-index: 10;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.info-section {
    text-align: center;
    padding: 30px 15px;
}

.info-heading {
    font-weight: 600;
    margin-bottom: 20px;
}

.info-img {
    width: 200px;
    max-width: 100%;
    margin-bottom: 20px;
    border: 1px solid black;
    border-radius: 10px;
}

.info-desc {
    max-width: 600px;
    margin: auto;
    color: #555;
    line-height: 1.6;
}

.lp-benefits {
    padding-left: 20px;
    color: #444;
    line-height: 1.7;
}

    .lp-benefits li {
        margin-bottom: 12px;
    }

    .lp-benefits .fw-bold {
        color: #000;
    }

.projects-images {
    margin-bottom: 70px;
}

.projects-images {
    margin-top: 10px;
    display: flex; /* use flex to arrange items */
    flex-direction: column; /* stack images vertically */
    align-items: center; /* center images horizontally */
    gap: 15px; /* space between images vertically */
    padding: 0 15px; /* space on left and right edges */
}

    .projects-images img {
        width: 100%;
        max-width: 500px; /* adjust as needed */
        border-radius: 15px; /* rounded corners */
        object-fit: cover; /* keep image ratio */
        display: block;
        box-sizing: border-box; /* ensures padding/margin doesn't break width */
    }

.more-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 🔥 NOT 100vh */
    background: #f7f7f7;
    z-index: 300;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

    /* Open state */
    .more-page.active {
        transform: translateX(0);
    }

    .more-page::after {
        content: '';
        display: block;
        height: 70px; /* bottom nav height */
    }

.more-header {
    background: #8c51eb;
    color: #fff;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

    .more-header span {
        position: absolute;
        left: 16px;
        cursor: pointer;
    }



.section {
    padding: 0 16px;
}

    .section h3 {
        margin: 20px 0 12px;
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Grid item base style with embossed effect */
.grid-item {
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #8d51e8;
    /* Neumorphic / embossed effect */
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1), -5px -5px 15px rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

    /* Icon styling */
    .grid-item i {
        display: block;
        font-size: 20px;
        margin-bottom: 6px;
        width: 42px;
        height: 42px;
        line-height: 42px;
        border-radius: 12px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Pressed / active effect */
    .grid-item:active {
        transform: scale(0.97);
    }

.joining-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 25px;
    border-radius: 20px;
    background: #f0f0f0;
    box-shadow: 8px 8px 20px rgba(0,0,0,0.1), -8px -8px 20px rgba(255,255,255,0.7);
    font-family: Arial, sans-serif;
}

    .joining-form h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #8d51e8;
    }

    .joining-form label {
        display: block;
        margin-bottom: 5px;
        font-weight: 600;
        color: #555;
    }

    /* Embossed inputs */
    .joining-form input,
    .joining-form select {
        width: 100%;
        padding: 12px;
        margin-bottom: 20px;
        border: none;
        border-radius: 15px;
        background: #f0f0f0;
        box-shadow: 5px 5px 10px rgba(0,0,0,0.1), -5px -5px 10px rgba(255,255,255,0.7);
        font-size: 14px;
        outline: none;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }

        /* Focus effect */
        .joining-form input:focus,
        .joining-form select:focus {
            box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1), inset -2px -2px 5px rgba(255,255,255,0.7);
        }

    /* Save button neumorphic style */
    .joining-form button {
        width: 100%;
        padding: 14px;
        border: none;
        border-radius: 15px;
        background: #f0f0f0;
        box-shadow: 5px 5px 10px rgba(0,0,0,0.1), -5px -5px 10px rgba(255,255,255,0.7);
        color: #8d51e8;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        /* Button hover/active */
        .joining-form button:hover {
            box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1), inset -2px -2px 5px rgba(255,255,255,0.7);
            color: #fff;
            background: #8d51e8;
        }

.report-section {
    max-width: 400px; /* mobile container size */
    margin: 20px auto;
    padding: 15px;
    font-family: Arial, sans-serif;
    text-align: center; /* heading centre */
}

    .report-section h2 {
        color: #8d51e8;
        margin-bottom: 25px;
        font-weight: 600;
    }

/* Date section */
.date-search {
    display: flex;
    flex-direction: column;
    align-items: center; /* full section centre */
    gap: 15px;
    margin-bottom: 20px;
}

/* Each field wrapper */
.date-field {
    width: 100%;
    max-width: 280px;
    text-align: left; /* label left inside center box */
}

    /* Label */
    .date-field label {
        font-size: 14px;
        font-weight: 500;
        display: block;
        margin-bottom: 5px;
    }

    /* Input */
    .date-field input[type="date"] {
        width: 100%;
        padding: 10px;
        border-radius: 12px;
        border: 1px solid #ddd;
        background: #f9f9f9;
    }

/* Button */
.date-search button {
    width: 100%;
    max-width: 280px;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(45deg, #8d51e8, #6b39c4);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.dash-logo {
    color: #800080 !important;
}

.emboss-table {
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 6px 6px 12px rgba(0,0,0,0.15), -6px -6px 12px rgba(255,255,255,0.9);
    padding: 10px;
}
.circle{
width:70px;
height:70px;
border-radius:50%;
position:relative;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
}

/* image layer */

.img-overlay-box{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:1;
}

.img-overlay-box img{
width:100%;
height:100%;
object-fit:cover;
border-radius:50%;
}

/* overlay */

.img-overlay-box::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.35);
border-radius:50%;
}



/* inner circle */

.inner-circle{
font-family:20px;

display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
font-size:18px;
color:white;
position:relative;
z-index:3;
}
.grid{
    width:100%;
}

.more{
    display:grid;
    grid-template-columns:repeat(4,1fr); /* 1 row te 3 ta */
    gap:12px;
    text-align:center;
}

.circle{
    width:70px;
    height:70px;
    border-radius:50%;
    overflow:hidden;
    margin:auto;
}

.circle img{
    width:100%;
    height:100%;
    object-fit:cover;
}