/* kept visual style — adjust if needed */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  padding: 30px 15px;
  color: #111;
}

.page-content{
  padding-top: 70px;
  padding-bottom: 30px;
}

.form-container {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 18px;
}

label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 700;
  color: #000;
}

.row {
  display: flex;
  gap: 14px;
}

.col {
  flex: 1;
  min-width: 0; /* prevents overflow */
}

.full {
  width: 100%;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fbfbfb;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select.hidden {
  display: none;
}

/* file area (drag & drop) */
.file-input-wrap {
  margin-bottom: 12px;
}

.custom-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px dashed rgba(0, 0, 0, 0.16);
  background: #fafafa;
  cursor: pointer;
  transition: all 0.14s ease;
}

.custom-file.dragover {
  border-color: #000;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.file-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.file-name {
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}

.file-hint {
  font-size: 0.9rem;
  color: #666;
  opacity: 0.8;
}

/* notes and important points */
.note-box {
  background: #fff7e6;
  border: 1px solid #ffd07a;
  padding: 12px 14px;
  border-radius: 10px;
  color: #222;
  margin-top: 6px;
  margin-bottom: 12px;
}

.note-box ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

/* --- IMPORTANT POINTS block (inserted above submit button) --- */
.important-points {
  background: #f3f9ff;
  border: 1px solid #cfe6ff;
  padding: 14px 16px;
  border-radius: 10px;
  color: #0b3a66;
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.important-points h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.important-points ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.important-points li {
  margin-bottom: 6px;
  font-size: 0.96rem;
}

/* submit button */
.btn-submit {
  margin-top: 12px;
  padding: 14px;
  width: 100%;
  border: 2px solid #000;
  border-radius: 12px;
  background: #000;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-submit:hover {
  background: #fff;
  color: #000;
}

/* success */
.success-message {
  text-align: center;
  color: green;
  font-weight: 800;
  font-size: 1.1rem;
}

/* responsive */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

@media (max-width: 920px) {
  .row,
  .grid-2,
  .grid-3 {
    display: block;
  }

  .grid-3 > * {
    margin-bottom: 10px;
  }
}

.small {
  font-size: 0.92rem;
  color: #444;
}

.required {
  color: #c00;
  margin-left: 6px;
  font-weight: 800;
}

.success-message{
    background:#eafaf1;
    color:#0f5132;
    border:1px solid #badbcc;
    padding:15px 20px;
    margin:20px 0;
    border-radius:8px;
    font-size:15px;
    line-height:1.6;
    text-align:left;
}