/* ── Education Ministry page styles ── */

/* Form layout: sidebar + card */
.edu-form-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .edu-form-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* Aside */
.edu-form-aside h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--ink, #102d31);
  margin: 0.4rem 0 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.edu-form-aside > p {
  font-size: 0.93rem;
  color: var(--muted, #53666a);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.edu-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.edu-aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink, #102d31);
  line-height: 1.4;
}

.edu-aside-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 0.05rem;
}

/* Card */
.edu-form-card {
  background: #fff;
  border: 1px solid rgba(16, 45, 49, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 2px 24px rgba(16, 45, 49, 0.07);
}

@media (max-width: 600px) {
  .edu-form-card { padding: 1.5rem; }
}

/* Fields */
#grad-form {
  display: grid;
  gap: 1.35rem;
}

.edu-field {
  display: grid;
  gap: 0.4rem;
}

.edu-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink, #102d31);
}

.edu-req {
  color: #b83232;
  margin-left: 0.1rem;
}

.edu-photo-note {
  font-weight: 400;
  color: var(--muted, #6b8084);
  font-size: 0.8rem;
}

.edu-field input[type="text"],
.edu-field textarea {
  width: 100%;
  border: 1.5px solid rgba(16, 45, 49, 0.16);
  border-radius: 9px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  color: var(--ink, #102d31);
  background: #fafbfb;
  font-family: inherit;
  transition: border-color 150ms, box-shadow 150ms, background 150ms;
  resize: vertical;
}

.edu-field input[type="text"]:focus,
.edu-field textarea:focus {
  outline: none;
  border-color: #347f82;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(52, 127, 130, 0.15);
}

.edu-field input::placeholder,
.edu-field textarea::placeholder {
  color: #a0b4b7;
  font-size: 0.9rem;
}

.edu-hint {
  font-size: 0.78rem;
  color: var(--muted, #7a9295);
  margin: 0;
  line-height: 1.5;
}

/* File upload zone */
.edu-upload-zone {
  position: relative;
  border: 2px dashed rgba(16, 45, 49, 0.18);
  border-radius: 12px;
  background: #f7f9f8;
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.edu-upload-zone:hover {
  border-color: #347f82;
  background: #f0f5f5;
}

.edu-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.edu-upload-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.5rem;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}

.edu-upload-icon {
  font-size: 2rem;
  line-height: 1;
}

.edu-upload-inner strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink, #102d31);
}

.edu-upload-inner span {
  font-size: 0.78rem;
  color: var(--muted, #7a9295);
}

/* Photo preview */
.edu-photo-preview-wrap {
  display: grid;
  gap: 0.4rem;
}

.edu-photo-preview {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(16, 45, 49, 0.1);
}

/* Status */
.edu-status {
  font-size: 0.84rem;
  font-weight: 700;
  color: #b83232;
  min-height: 1.2em;
  margin: 0;
}

.edu-status.is-ok { color: #1a6e3c; }

/* Submit button */
.edu-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

/* Privacy note */
.edu-privacy {
  font-size: 0.76rem;
  color: var(--muted, #7a9295);
  text-align: center;
  margin: 0;
  line-height: 1.55;
}

/* Success state */
.edu-success {
  text-align: center;
  padding: 2.5rem 1rem;
  display: grid;
  gap: 0.85rem;
}

.edu-success-icon {
  font-size: 3.5rem;
  line-height: 1;
}

.edu-success h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink, #102d31);
  margin: 0;
}

.edu-success p {
  font-size: 0.95rem;
  color: var(--muted, #53666a);
  margin: 0;
  line-height: 1.65;
  max-width: 480px;
  margin-inline: auto;
}
