/* মোবাইল ফ্রেন্ডলি ইনপুট এবং বাটন */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* জুম বা স্ক্রলিং সমস্যা সমাধান করবে */
    touch-action: manipulation;
}

.auth-container {
    width: 90% !important; /* স্ক্রিনের চওড়া অনুযায়ী সেট হবে */
    margin: 20px auto;
    padding: 20px;
}

input, button {
    font-size: 16px; /* মোবাইলে জুম হওয়া আটকানোর জন্য ফন্ট সাইজ ১৬পিএক্স রাখা ভালো */
    height: 45px;
    width: 100%;
}
/* প্রফেশনাল গ্লোবাল স্টাইল */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f8f9fa; color: #333; line-height: 1.6; }

/* অ্যাপ-লাইক হেডার */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-icon { font-size: 24px; cursor: pointer; color: #333; }
.balance-display { font-size: 16px; font-weight: 600; color: #2c3e50; }
.balance-display strong { color: #28a745; }

/* সাইডবার বা স্লাইড মেনু */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 70px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.15);
    z-index: 1001;
    overflow-x: hidden;
}

.sidebar.active { width: 280px; }

.sidebar ul {
    list-style: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 90%;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    color: #444;
    text-decoration: none;
    font-size: 17px;
    transition: 0.2s;
}

.sidebar ul li a:hover { color: #007bff; }

/* বাটন এবং লগআউট স্টাইল */
.btn-store {
    background: #007bff;
    color: #ffffff !important;
    padding: 12px;
    border-radius: 10px;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}

.logout-item {
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.logout-item a { color: #dc3545 !important; }

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    border: none;
    background: none;
    color: #555;
}

/* মোবাইল রেসপন্সিভনেস */
@media (max-width: 600px) {
    .app-header { padding: 12px 15px; }
    .balance-display { font-size: 14px; }
}
/* বটম নেভিগেশন বার স্টাইল */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 65px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.nav-item {
    text-decoration: none;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
}

.nav-item i { font-size: 20px; margin-bottom: 4px; }

/* সাপোর্ট পপআপ স্টাইল */
.support-popup {
    display: none;
    position: fixed;
    bottom: 75px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
}

.support-popup.show { display: block; }

.popup-content { display: flex; flex-direction: column; gap: 15px; }

.support-link {
    text-decoration: none;
    color: #333;
    padding: 10px;
    background: #f4f4f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-popup { border: none; background: none; font-size: 20px; align-self: flex-end; cursor: pointer; }
.auth-page { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #f0f2f5; }
.auth-container { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); width: 100%; max-width: 400px; text-align: center; }
.logo-img { width: 80px; margin-bottom: 10px; }
input { width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #ccc; border-radius: 8px; box-sizing: border-box; }
.btn-submit { width: 100%; padding: 12px; background: #28a745; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; }
/* অ্যাপ-লাইক মোবাইল রেসপন্সিভ ডিজাইন */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* ডানে-বামে স্ক্রল বন্ধ করবে */
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container {
    width: 92% !important; /* মোবাইলে ঠিকমতো বসবে */
    margin: 10px auto;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    box-sizing: border-box;
}

input {
    width: 100%;
    padding: 15px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px; /* ১৬px ফন্ট সাইজ জুম অটো হওয়া আটকাবে */
    box-sizing: border-box;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}
