/* Accord IEP — Shared Styles */

body {
  font-family: 'Public Sans', sans-serif;
  background-color: #f7f9fb;
  color: #191c1e;
}

.font-headline {
  font-family: 'Inter', sans-serif;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.primary-gradient {
  background: linear-gradient(135deg, #002046 0%, #1b365d 100%);
}

.no-border-shadow {
  box-shadow: 0 40px 40px -20px rgba(25, 28, 30, 0.04);
}

.placeholder-frame {
  background: repeating-linear-gradient(
    45deg,
    #e6e8ea,
    #e6e8ea 12px,
    #eceef0 12px,
    #eceef0 24px
  );
}

/* Contact Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 28, 30, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: 1rem;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(25, 28, 30, 0.3);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #74777f;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
}

.modal-close:hover {
  background: #eceef0;
}

.modal-form label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #002046;
  margin-bottom: 0.5rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #c4c6cf;
  border-radius: 0.5rem;
  font-family: 'Public Sans', sans-serif;
  font-size: 1rem;
  background: #ffffff;
  color: #191c1e;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #1b365d;
  box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
}

.modal-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.modal-form .field {
  margin-bottom: 1.25rem;
}

.modal-form .required-mark {
  color: #ba1a1a;
  margin-left: 2px;
}

.modal-form .submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #002046 0%, #1b365d 100%);
  color: #ffffff;
  padding: 1rem;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.1s;
}

.modal-form .submit-btn:hover {
  transform: scale(1.01);
}

.modal-form .submit-btn:active {
  transform: scale(0.98);
}

.modal-form .submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.modal-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  display: none;
}

.modal-status.is-visible {
  display: block;
}

.modal-status.is-success {
  background: #d7f5e5;
  color: #006135;
}

.modal-status.is-error {
  background: #ffdad6;
  color: #93000a;
}

body.modal-open {
  overflow: hidden;
}
