/* بانک ملت تم قرمز با فاصله‌دهی مناسب */
:root {
  --bm-primary: #b1002c; /* قرمز بانک ملت */
  --bm-dark: #75001e;
  --bm-light: #ffccd5;
  --bm-accent: #ffd700;
  --radius: .75rem;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
body {
  font-family: 'Vazir', Tahoma, sans-serif;
}

body {
  background: #fdfdfd;
  font-family: "Vazir", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2d3d;
  min-height: 100vh;
  padding-top: 1rem;
  padding-bottom: 2rem;
  direction: rtl;
}

.container-main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1rem;
}

.breadcrumb-custom {
  background: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.page-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--bm-primary);
}

.card-modern {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.card-header {
  background: linear-gradient(135deg, var(--bm-primary), var(--bm-dark));
  color: white;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1rem 1.25rem;
}

.card-title {
  margin: 0;
  font-size: 1.25rem;
}

.form-section {
  background: white;
  padding: 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

.form-label {
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.required-star {
  color: #d50000;
  margin-left: 2px;
  font-size: 0.9em;
}

.form-control {
  border-radius: 0.5rem;
  border: 1px solid #d7e1ec;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--bm-primary);
  box-shadow: 0 0 0 3px rgba(177, 0, 44, 0.2);
}

.field-error {
  font-size: 0.85rem;
  color: #b00020;
  margin-top: -0.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.validation-summary {
  background: #ffe9e9;
  border: 1px solid #f5c2c2;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--bm-primary);
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 0.6rem;
  font-weight: 600;
  box-shadow: 0 12px 25px -5px rgba(177, 0, 44, 0.4);
  transition: transform 0.15s ease;
  color: white;
}

.btn-primary:hover {
  background: var(--bm-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f3f3f3;
  color: #333;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 0.6rem;
  font-weight: 500;
}

.checkbox-label {
  margin-right: 0.5rem;
  font-weight: 500;
}

.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.2rem;
}

 

@media (min-width: 992px) {
  .form-row > .form-group,
  .row > .form-group {
    width: 50%; /* یعنی دو ستون در دسکتاپ */
  }
}






@media (max-width: 991px)
 {
  .form-group.row {
    flex-direction: column;
  }
  .form-group .col-form-label {
    margin-bottom: 0.5rem;
  }
  .text-right {
    text-align: center !important;
  }
  .form-control {
    margin-bottom: 1.5rem;
  }
  .card-header {
    text-align: center;
  }
}
 

