/* ======= Reset & Font ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 @font-face {
    font-family: 'Adorsho';
    src: url('Shadhinata.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html, body {
  height: 100%;
  font-family: 'Adorsho', sans-serif !important; 
  font-weight: normal;
  display: flex;
  flex-direction: column;
}
.header-wrapper {
  position: fixed;
  height: 80px;
  top: 0;
  left: 0;
  width: 100%;
  background: #006064;
  color: white;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

    /* Top Social Bar */
    .top-right-bar {
      padding: 5px 15px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    .social-icons {
      display: flex;
      gap: 12px;
      margin-top: -10px;
    }

    .social-icons img {
      width: 18px;
      height: 18px;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .social-icons img:hover {
      transform: scale(1.2);
    }
        .logo-title {
      display: flex;
      align-items: center;
    }

    .logo-title img {
      height: 40px;
      width: 40px;
      border-radius: 50%; /* Make it round */
      margin-left: 60px;
      margin-top: -10px;
    }

    .logo-title h1 {
      
          font-family: 'Cholontika', sans-serif !important;
      margin-left: 15px;
      color: white;
      text-shadow: 1px 1px 2px black;
    margin-top: -5px;
    font-weight: normal;
    }

    /* Hamburger */
.hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1101;
  position: absolute;
  top: 28px;
  left: 10px;
  transition: opacity 0.3s ease;
  outline: none;
  box-shadow: none;
    -webkit-tap-highlight-color: transparent; /* মোবাইলে হালকা গ্লো বন্ধ */
  box-shadow: none !important; /* যেকোনো shadow নিষ্ক্রিয় */
  outline: none !important; /* ক্লিক করলে outline আসে, বন্ধ */
  background: none !important;
}
.hamburger:focus,
.hamburger:focus-visible,
.hamburger:active {
  outline: none !important;
  box-shadow: none !important;
    background: none !important;
}

.hamburger.hidden {
  opacity: 0;
  pointer-events: none;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
    /* Sidebar */
    .sidebar {
      position: fixed;
      top: 0;
      left: -260px;
      width: 250px;
      height: 100%;
      background: #006064;
      box-shadow: 2px 0 6px rgba(0,0,0,0.2);
      transition: left 0.3s ease;
      z-index: 1100;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }

    .sidebar.active {
      left: 0;
    }

.sidebar-header {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  background-color: white;
  border: none;
  border-radius: 0; /* কোন গোল কোণা নয় */
  color: #fff;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 25; /* যেন বাকি বাটনের উপরে থাকে */
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

    .sidebar-header img {
      height: 35px;
      width: 35px;
      border-radius: 50%;
      margin-right: 8px;
    }

    .sidebar-header h2 {
      font-weight: normal;
      font-family: 'Cholontika', sans-serif !important;
      font-size: 16px;
      color: #006064;
    }

    .sidebar a {
      padding: 12px 20px;
      text-decoration: none;
      color: white;
      border-bottom: 1px solid #eee;
      transition: background 0.3s;
    }

    .sidebar a:hover {
      background-color: #00695c;
    }

    /* Overlay */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.4);
      display: none;
      z-index: 1000;
    }

    .overlay.active {
      display: block;
    }


/* ======= Loader Styling ======= */
.loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 50px 0;
    font-weight: 600;
    color: #006064;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #006064;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ======= Modern Card Design ======= */
.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
    border-color: #006064;
}

.card-left h3 {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 5px;
    line-height: 1.4;
}

.card-left span {
    font-size: 12px;
    color: #94a3b8;
    display: block;
}

.card-amount {
    font-size: 18px;
    font-weight: 800;
    color: #ef4444; /* লাল রং ব্যয়ের জন্য */
    background: #fff5f5;
    padding: 8px 12px;
    border-radius: 12px;
}

/* ======= Modern Modal (Bottom Sheet) ======= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: flex-end; /* মোবাইল অ্যাপের মত নিচ থেকে আসবে */
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 25px 40px;
    border-radius: 25px 25px 0 0;
    animation: slideUp 0.4s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-handle {
    width: 45px;
    height: 5px;
    background: #e2e8f0;
    margin: 0 auto 20px;
    border-radius: 10px;
}

.modal-body h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: #006064;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.modal-row b {
    color: #64748b;
    font-size: 14px;
}

.modal-row span {
    color: #1e293b;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.close-btn {
    width: 100%;
    padding: 15px;
    background: #006064;
    color: white;
    border: none;
    border-radius: 12px;
    margin-top: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.close-btn:active {
    opacity: 0.8;
}

    /* ======= Footer ======= */
footer {
  background-color: #006064;
  color: #FFEA00;
  padding: 5px 0;
  text-align: center;
  font-size: 14px;
  width: 100%;
  margin-top: auto; /* ✅ This ensures footer stays at bottom when content is short */
}
.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5px;
  line-height: 1.5;
}
footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0px;
  font-size: 14px;
  transition: color 0.3s ease;
}
footer a:hover {
  text-decoration: underline;
  color: #FFEA00;
}
.footer-links {
  margin-top: 4px;
  font-size: 12px;
}

/* ======= Scrollbar ======= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}
    @media (max-width: 600px) {
      .logo-title h1 {
        font-size: 14px;
      }
    }
    
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* টাইটেলের জন্য কাস্টম স্টাইল */
@font-face {
    font-family: 'Cholontika';
    src: url('Codepotro Abu Sayed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}