/* Redesigned Bengali Membership Registration Plugin CSS */

.mr-wrapper {
  font-family: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8fafc;
  padding: 24px;
  border-radius: 16px;
  max-width: 800px;
  margin: 20px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  box-sizing: border-box;
  color: #1e293b;
}

.mr-header {
  text-align: center;
  margin-bottom: 25px;
}

.mr-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.mr-subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

/* Step Progress Indicator Bar */
.mr-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
}

.mr-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 14px;
}

.mr-step-item.active {
  color: #0284c7;
}

.mr-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.mr-step-item.active .mr-step-badge {
  background: #0284c7;
  color: #ffffff;
}

.mr-step-divider {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 12px;
}

/* Form Cards & Section Headers */
.mr-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.mr-tab-1 > .mr-card:last-of-type {
  margin-bottom: 0;
}

.mr-card-secondary {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}

.mr-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 18px 0;
  border-bottom: 2px solid #e0f2fe;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mr-sec-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Grid Layout */
.mr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mr-full-width {
  grid-column: span 2;
}

.mr-field {
  display: flex;
  flex-direction: column;
}

.mr-field label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.mr-req {
  color: #ef4444;
}

.mr-field input[type="text"],
.mr-field input[type="tel"],
.mr-field input[type="email"],
.mr-field input[type="date"],
.mr-field input[type="file"],
.mr-field select,
.mr-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.mr-field input:focus,
.mr-field select:focus,
.mr-field textarea:focus {
  border-color: #0284c7;
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.mr-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

/* Declaration Box */
.mr-declaration-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.mr-declaration-box p {
  margin: 0 0 10px 0;
}

.mr-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}

.mr-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0284c7;
}

/* bKash Payment Box */
.mr-bkash-box {
  background: #fff5f5;
  border: 1.5px dashed #f43f5e;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.mr-bkash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.mr-bkash-logo {
  font-size: 22px;
  font-weight: 900;
  color: #e11d48;
}

.mr-bkash-tag {
  background: #ffe4e6;
  color: #be123c;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.mr-instructions {
  margin: 0 0 18px 20px;
  padding: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}

.mr-number-card {
  background: #ffffff;
  border: 1.5px solid #fecdd3;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
}

.mr-number-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.mr-number-val {
  font-size: 24px;
  font-weight: 800;
  color: #e11d48;
  letter-spacing: 1px;
  margin-top: 4px;
}

.mr-fee {
  color: #0284c7;
  font-size: 16px;
}

/* Buttons & Actions */
.mr-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  margin-bottom: 20px;
  gap: 12px;
}

.mr-card .mr-actions {
  margin-top: 20px;
  margin-bottom: 0;
}

.mr-actions.mr-between {
  justify-content: space-between;
}

.mr-btn {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.mr-btn:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.mr-btn-prev {
  background: #e2e8f0;
  color: #334155;
  box-shadow: none;
}

.mr-btn-prev:hover {
  background: #cbd5e1;
}

.mr-btn-search {
  background: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.mr-btn-reset {
  background: #059669;
  margin-top: 15px;
}

/* Alert Boxes */
.mr-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 600;
}

.mr-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.mr-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Success View Card */
.mr-success-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.mr-success-icon {
  width: 60px;
  height: 60px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

.mr-summary-table {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 20px 0;
  text-align: left;
}

.mr-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.mr-summary-row:last-child {
  border-bottom: none;
}

.mr-pill {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.mr-pill-pending {
  background: #fef3c7;
  color: #b45309;
}

/* Status Check Section */
.mr-status-section {
  margin-top: 0;
}

.mr-status-section .mr-card {
  margin-bottom: 0;
}

.mr-status-input-group {
  display: flex;
  gap: 10px;
}

.mr-status-input-group input {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .mr-wrapper {
    padding: 14px;
    margin: 10px auto;
  }

  .mr-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .mr-tab-1 > .mr-card:last-of-type {
    margin-bottom: 0;
  }

  .mr-grid {
    grid-template-columns: 1fr;
  }

  .mr-full-width {
    grid-column: span 1;
  }

  .mr-progress-bar {
    padding: 10px 14px;
    margin-bottom: 18px;
  }

  .mr-step-label {
    display: none;
  }

  .mr-actions {
    flex-direction: column-reverse;
    margin-top: 16px;
    margin-bottom: 18px;
  }

  .mr-card .mr-actions {
    margin-top: 16px;
    margin-bottom: 0;
  }

  .mr-btn {
    width: 100%;
    padding: 14px;
  }
}
