/* =========================================
   IFC AGENT - AGENT REGISTRATION
   File: assets/css/registration.css
========================================= */

.registration-container {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: 35px 0 75px;
}

.registration-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
  color: #64748b;
  font-size: 14px;
}

.registration-breadcrumbs a {
  color: #1456c0;
  text-decoration: none;
}

.registration-breadcrumbs a:hover {
  text-decoration: underline;
}

.registration-header {
  margin-bottom: 40px;
}

.registration-label {
  display: inline-block;
  padding: 7px 13px;
  margin-bottom: 16px;
  border-radius: 30px;
  background: #eaf2ff;
  color: #1456c0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.registration-header h1 {
  margin: 0 0 16px;
  color: #123b78;
  font-size: clamp(30px, 5vw, 43px);
  line-height: 1.2;
}

.registration-header p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.85;
}

.registration-article section {
  margin-bottom: 38px;
}

.registration-article h2 {
  margin: 0 0 16px;
  color: #123b78;
  font-size: 23px;
  line-height: 1.4;
}

.registration-article h3 {
  margin: 0 0 9px;
  color: #123b78;
  font-size: 17px;
}

.registration-article p,
.registration-article li {
  color: #475569;
  font-size: 15px;
  line-height: 1.85;
}

.registration-article p {
  margin: 0 0 15px;
}

.registration-article ul {
  padding-left: 24px;
}

.registration-article li {
  margin-bottom: 9px;
}

.registration-step {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 22px;
  margin: 16px 0;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.registration-step:hover {
  border-color: #bfdbfe;
  box-shadow: 0 7px 20px rgba(15, 40, 80, 0.05);
}

.registration-number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #eaf2ff;
  color: #1456c0;
  font-size: 14px;
  font-weight: 700;
}

.registration-step h3 {
  margin-top: 2px;
}

.registration-step p {
  margin-bottom: 0;
}

.registration-notice {
  padding: 23px;
  border-left: 4px solid #1456c0;
  border-radius: 9px;
  background: #eff6ff;
}

.registration-notice p:last-child {
  margin-bottom: 0;
}

.registration-related {
  padding: 25px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.registration-related a {
  display: block;
  padding: 15px 17px;
  margin-top: 11px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
  color: #1456c0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.registration-related a:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.registration-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  margin-top: 45px;
  border-top: 1px solid #e2e8f0;
}

.registration-navigation a {
  color: #1456c0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.registration-navigation a:hover {
  text-decoration: underline;
}

@media (max-width: 650px) {
  .registration-container {
    width: min(100% - 32px, 900px);
    padding-top: 25px;
  }

  .registration-step {
    gap: 13px;
    padding: 17px;
  }

  .registration-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }

  .registration-related {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .registration-step {
    transition: none;
  }
}
