@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap");

body {
  font-size: 15px;
  font-family:
    "Outfit",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-weight: 400;
  color: #2c3e50;
  background-color: #f4f6f9;
}

/* Base structural improvements */
.main-container {
  max-width: 1050px;
  margin-top: 2rem;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
}

hr {
  border-top: 1px solid #e1e5eb;
  margin: 1.5rem 0;
}

/* Card layout for content */
.main-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 30px;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* loader */
.loader {
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #4a6ee0;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 1s linear infinite; /* Safari */
  animation: spin 1s linear infinite;
  margin: auto;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

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

.fakeimg {
  height: 200px;
  background: #ececec;
  border-radius: 12px;
}

.header {
  padding: 1.5rem 2rem;
  margin-bottom: 0;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header img {
  height: 36px;
  object-fit: contain;
}

.header .logos-brands img {
  height: 26px;
  margin-left: 10px;
}

.footer {
  padding: 1.5rem 1rem;
  background-color: transparent;
  text-align: center;
  color: #8898aa;
  font-size: 0.9em;
}

/* Forms slightly customized */
.form-control {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: #495057;
  background-color: #fbfcff;
}

.form-control[readonly] {
  background-color: #f4f6f9;
  color: #6c757d;
  cursor: not-allowed;
  border-color: #e1e5eb;
}

.form-label {
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 0.3rem;
  font-size: 0.95em;
}

.btn-primary {
  background-color: #4a6ee0;
  border-color: #4a6ee0;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(74, 110, 224, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #3b5cbd;
  border-color: #3b5cbd;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(74, 110, 224, 0.3);
}

.custom-checkbox .custom-control-label {
  line-height: 1.5;
}

.merchant-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  color: #525f7f;
  font-size: 0.95em;
  line-height: 1.6;
}

.error-banner {
  background-color: #fee2e2;
  color: #b91c1c;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}
