/* --- Minimal clean UI --- */
:root {
  --bg: #0b0f17;
  --card: #121826;
  --soft: #fff;
  --text: #e9eefb;
  --muted: #9bb1d1;
  --accent: #7cc4ff;
  --ring: #2d3b53;
  --success: #27c093;
  --warning: #ffc857;
}

* {
  box-sizing: border-box
}



.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  max-height: 1080px;
  overflow-y: scroll;
}

.topbar {
  position: sticky;
  top: 64px;
  background: rgba(255, 255, 255, 0.8);

  box-shadow: none;
  z-index: 10
}

.topbar .container {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px
}

h1 {
  font-size: 18px;
  margin: 0
}

.right input {
  background: var(--soft);
  border: 1px solid var(--ring);

  padding: 10px 12px;
  border-radius: 12px;
  outline: none;
  min-width: 220px
}

.section-title {
  font-size: 16px;
  margin: 24px 0 10px 0;
  color: var(--muted)
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px
}

.card {
  background: #f1f5ff;
  border: 1px solid var(--ring);
  color: #000000;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: transform .06s ease, border-color .2s
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  cursor: pointer
}

.card:after {
  background-color: #2d3b53;
  color: #27c093
}

.card:active {
  background-color: #2d3b53;
  color: #27c093
}

.card:focus {
  background-color: #2d3b53;
  color: #27c093
}

.icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px
}

.name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  color: #1f083f;
  text-overflow: ellipsis;
}

.meta {
  color: var(--muted);
  font-size: 12px
}

.list .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
  gap: 10px;
  max-width: 350px;
  overflow: scroll;
}

.row .left {
  display: flex;
  align-items: center;
  gap: 10px
}

.row .actions a {
  text-decoration: none;

  border: 1px solid var(--ring);
  padding: 8px 10px;
  border-radius: 10px;

  color: var(--text)
}

.row .actions a:hover {
  border-color: var(--accent)
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 0 0 0;
  margin: 10px 0 20px 0
}

.bc-item {
  background: var(--soft);
  border: 1px solid var(--ring);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer
}

.bc-item.active {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent)
}

.footer {
  border-top: 1px solid var(--ring);
  margin-top: 28px
}

.footer .container {
  padding: 18px 16px
}

.small {
  font-size: 12px;
  color: var(--muted)
}

.empty {
  color: var(--muted);
  padding: 16px 0
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  overflow: auto;
}

/* Modal box */
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 25px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: slideDown 0.4s ease;
}

/* Title */
.modal-content h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 22px;
  color: #333;
}

/* Close button */
.close-btn {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #888;
}

.close-btn:hover {
  color: #000;
}

/* Input fields */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
}

/* Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(45deg, #4CAF50, #45a049);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: linear-gradient(45deg, #45a049, #3e8e41);
}

/* Animation */
@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media(max-width: 480px) {
  .modal-content {
    margin: 20% auto;
    padding: 20px;
  }

  .modal-content h2 {
    font-size: 18px;
  }
}

.city-link.active {
  font-weight: bold;
  color: #4CAF50;
  text-decoration: underline;
}

.link {
  text-decoration: none;
  display: inline-block;
  background: #4a9364;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#paymentModal {
  position: fixed;
  inset: 0;
  padding: 20px;
  background: var(--bg-overlay);
  z-index: 99999;
  display: none;
  /* তোমার JS display:block করলে দেখাবে */
  place-items: center;
  /* center align */
  backdrop-filter: blur(2px);
}

/* Card */
#paymentForm {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  animation: modal-in .18s ease-out;
}

/* Title */
#paymentForm h3 {
  margin: 0 0 14px 0;
  font-size: 20px;
  line-height: 1.2;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Form layout */
#paymentForm label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 6px;
}

#paymentForm input[type="text"],
#paymentForm input[type="number"],
#paymentForm textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;

  border-radius: 12px;
  background: transparent;

  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, transform .02s ease;
}

#paymentForm textarea {
  min-height: 96px;
  resize: vertical;
}

/* Focus ring */
#paymentForm input:focus,
#paymentForm textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 6px var(--ring);
}

/* Invalid basic state (optional: required field empty) */
#paymentForm input:invalid,
#paymentForm textarea:invalid {
  border-color: #ef4444;
}

/* Submit button */
#paymentForm button[type="submit"] {
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  border-radius: 12px;
  cursor: pointer;

  color: #0b0f14;
  transition: transform .02s ease, filter .15s ease, background .15s ease;
}

#paymentForm button[type="submit"]:hover {
  background: var(--primary-hover);
}

#paymentForm button[type="submit"]:active {
  transform: translateY(1px);
  filter: saturate(1.1);
}

/* Subtle divider under title */
#paymentForm h3+input,
#paymentForm h3+label {
  margin-top: 8px;
}

/* Small helper text style (if you add) */
#paymentForm .hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Entrance animation */
@keyframes modal-in {
  from {
    transform: translateY(6px) scale(.98);
    opacity: .0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Responsive niceties */
@media (min-width: 480px) {
  #paymentForm {
    padding: 22px;
  }
}

@media (min-width: 640px) {
  #paymentForm {
    padding: 24px;
  }
}

/* Optional close button if you add it (see note below) */
#paymentForm .close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .02s ease;
}

#paymentForm .close-btn:hover {
  background: rgba(127, 127, 127, .08);
  color: var(--text);
}

#paymentForm .close-btn:active {
  transform: translateY(1px);
}




.file-row {
  display: flex;
  justify-content: space-between;
  /* বাম-ডান ভাগ */
  align-items: center;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #0a1a2f;
  /* চাইলে কালার চেঞ্জ করো */
  color: white;
}

/* বাম পাশ */
.left {
  display: flex;
  align-items: center;
  gap: 10px;
  /* আইকন আর টেক্সটের ফাঁকা */
  max-width: 300px;
  overflow-x: scroll;
}

.left .icon {
  font-size: 20px;
}

.left .name {
  font-size: 14px;
  font-weight: 500;
  word-break: break-word;
}

.left .meta {
  font-size: 12px;
  color: #ccc;
}

/* ডান পাশের ডাউনলোড বাটন */
.actions .download-btn {
  display: inline-block;
  padding: 6px 12px;
  background: #0d6efd;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  /* এক লাইনে থাকবে */
}

/* 📱 মোবাইলের জন্য */
@media (max-width: 600px) {
  .file-row {
    flex-direction: column;
    /* মোবাইলে কলামে যাবে */
    align-items: flex-start;
  }

  .actions {
    margin-top: 8px;
    width: 100%;
    /* পুরো চওড়া */
  }

  .actions .download-btn {
    display: block;
    text-align: center;
    width: 100%;
    /* ফুল-উইডথ বাটন */
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  overflow: auto;
}

/* Modal box */
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 25px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: slideDown 0.4s ease;
}

/* Title */
.modal-content h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 22px;
  color: #333;
}

/* Close button */
.close-btn {
  float: right;
  font-size: 34px;
  font-weight: bold;
  cursor: pointer;
  color: #888;
}

.close-btn:hover {
  color: #000;
}

/* Input fields */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
}

/* Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(45deg, #4CAF50, #45a049) !important;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: linear-gradient(45deg, #45a049, #3e8e41);
}

/* Animation */
@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media(max-width: 480px) {
  .modal-content {
    margin: 20% auto;
    padding: 20px;
  }

  .modal-content h2 {
    font-size: 18px;
  }
}