.apply-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.52);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.apply-modal-overlay.active { display: flex; }
.apply-modal-box {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 2rem 1.8rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  animation: modalIn .18s ease;
}
@keyframes modalIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.apply-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.5rem; color: #888;
  cursor: pointer; line-height: 1;
}
.apply-modal-close:hover { color: #333; }
.apply-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a2740;
  margin-bottom: 4px;
}
.apply-modal-bank {
  font-size: .85rem;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.apply-field { margin-bottom: 1rem; }
.apply-field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}
.apply-field input,
.apply-field textarea {
  width: 100%;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: .55rem .75rem;
  font-size: .92rem;
  color: #1a2740;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s;
  font-family: inherit;
  resize: vertical;
}
.apply-field input:focus,
.apply-field textarea:focus { border-color: #2563eb; }
.apply-modal-submit {
  width: 100%;
  margin-top: .4rem;
  padding: .75rem;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.apply-modal-submit:hover { background: #1d4ed8; }
.apply-success {
  text-align: center;
  padding: 1rem 0 .5rem;
}
.apply-success-icon {
  width: 60px; height: 60px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 60px;
  margin: 0 auto 1rem;
}
.apply-success-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a2740;
  margin-bottom: .5rem;
}
.apply-success-msg {
  font-size: .9rem;
  color: #4b5563;
  line-height: 1.55;
}