/* ── CIFSE Registration Form Styles ── */

.cifse-wrap {
  font-family: 'Arial', sans-serif;
  max-width: 860px;
  margin: 0 auto 40px;
  border: 2px solid #333;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

/* HEADER */
.cifse-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 3px solid #c0392b;
}
.cifse-header img { height: 72px; width: auto; }
.cifse-header-text { flex: 1; text-align: center; }
.cifse-header-text h1 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
  color: #c0392b;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
}
.cifse-hindi {
  margin: 2px 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.cifse-sub {
  margin: 2px 0;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* TITLE BAR */
.cifse-title-bar {
  background: #c0392b;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 10px 0;
  text-transform: uppercase;
}

/* BODY */
.cifse-form-body { padding: 20px 24px; }

/* TOP ROW */
.cifse-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 20px;
}
.cifse-session-block { flex: 1; }
.cifse-bold-label {
  display: block;
  font-weight: 800;
  font-size: 15px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid #333;
}

/* PHOTO BOX */
.cifse-photo-box {
  border: 1.5px solid #555;
  padding: 10px 14px;
  min-width: 160px;
  max-width: 180px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #333;
}
.cifse-photo-box p { margin: 0 0 8px; }
.cifse-photo-upload label {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  padding: 5px 12px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.cifse-photo-upload input[type="file"] { display: none; }
.cifse-preview {
  margin-top: 8px;
}
.cifse-preview img {
  width: 100%;
  max-height: 130px;
  object-fit: cover;
  border: 1px solid #ccc;
}

/* SECTIONS */
.cifse-section {
  margin-bottom: 18px;
  border: 1.5px solid #555;
}
.cifse-section-title {
  background: #333;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  letter-spacing: .04em;
}

/* FIELD ROWS */
.cifse-field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px dotted #ccc;
  flex-wrap: wrap;
}
.cifse-field-row:last-child { border-bottom: none; }
.cifse-field-row label {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #222;
  min-width: fit-content;
}

.cifse-field-group {
  padding: 8px 12px;
  border-bottom: 1px dotted #ccc;
}
.cifse-field-group:last-child { border-bottom: none; }
.cifse-field-group > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

/* NAME ROW */
.cifse-name-row {
  display: flex;
  gap: 10px;
  width: 100%;
}
.cifse-name-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cifse-sub-label {
  font-size: 11px;
  color: #777;
  margin-top: 3px;
  text-align: center;
}

/* INPUTS */
.cifse-input {
  border: none;
  border-bottom: 1.5px solid #555;
  outline: none;
  padding: 5px 4px;
  font-size: 13px;
  font-family: inherit;
  background: transparent;
  color: #111;
  transition: border-color .2s;
}
.cifse-input:focus { border-bottom-color: #c0392b; }
.cifse-input.cifse-full { width: 100%; box-sizing: border-box; }
.cifse-input.cifse-flex { flex: 1; min-width: 100px; }
.cifse-input.cifse-medium { width: 160px; }
.cifse-input.cifse-short { width: 80px; }
.cifse-input.cifse-block-letters { text-transform: uppercase; letter-spacing: .08em; }
.cifse-input.cifse-textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid #aaa;
  padding: 6px 8px;
  border-radius: 2px;
}
.cifse-input.cifse-textarea:focus { border-color: #c0392b; }

.cifse-ml { margin-left: 8px; }
.cifse-hint { font-weight: 400; color: #888; font-size: 12px; }

/* RADIO / CHECK ROW */
.cifse-check-row { flex-wrap: wrap; gap: 10px; }
.cifse-radio {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}
.cifse-radio input { accent-color: #c0392b; cursor: pointer; }

/* FILE UPLOAD */
.cifse-file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cifse-file-upload input[type="file"] { display: none; }
.cifse-file-btn {
  background: #555;
  color: #fff;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.cifse-file-btn:hover { background: #c0392b; }
.cifse-file-name {
  font-size: 12px;
  color: #666;
  font-style: italic;
}

/* NOTICE */
.cifse-notice {
  border: 1px dashed #aaa;
  padding: 10px 14px;
  font-size: 12px;
  color: #444;
  margin-bottom: 16px;
  text-align: center;
}
.cifse-notice p { margin: 3px 0; }

/* SUBMIT */
.cifse-submit-row { text-align: center; margin-top: 8px; }
.cifse-submit-btn {
  background: #c0392b;
  color: #fff;
  border: none;
  padding: 13px 48px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: background .2s, transform .1s;
}
.cifse-submit-btn:hover  { background: #a93226; transform: translateY(-1px); }
.cifse-submit-btn:active { transform: translateY(0); }
.cifse-submit-btn:disabled { background: #999; cursor: not-allowed; }

/* MESSAGE */
.cifse-message {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.cifse-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.cifse-message.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .cifse-header { flex-direction: column; text-align: center; }
  .cifse-header img { height: 50px; }
  .cifse-header-text h1 { font-size: 14px; }
  .cifse-top-row { flex-direction: column; }
  .cifse-photo-box { max-width: 100%; }
  .cifse-name-row { flex-direction: column; }
  .cifse-field-row { flex-direction: column; align-items: flex-start; }
  .cifse-input.cifse-medium,
  .cifse-input.cifse-short { width: 100%; }
  .cifse-submit-btn { width: 100%; }
}
