/* ==========================================================================
   Comprehensive Case Assessment Portal Styling (Wide & Expansive Layout)
   ========================================================================== */

.start-case-page {
  background: #f4f7fb;
  min-height: 100vh;
}

/* Wide Container for Start Case */
.case-section .frame.case-grid {
  max-width: 1440px !important;
  width: min(100% - 48px, 1440px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 380px 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}

/* Left Column: Assessment Standards */
.case-section .case-copy {
  position: sticky;
  top: 100px;
  background: #ffffff;
  padding: 36px 32px;
  border-radius: 18px;
  border: 1px solid #d9e3ee;
  box-shadow: 0 10px 30px rgba(12, 28, 52, 0.04);
}

.case-section .case-copy .section-label {
  display: inline-block;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-section .case-copy h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b1c34;
  margin: 0 0 12px;
  line-height: 1.25;
}

.case-section .case-copy p {
  color: #556882;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.case-section .case-copy .proof-list {
  display: grid;
  gap: 16px;
}

.case-section .case-copy .proof {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.case-section .case-copy .proof b {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.case-section .case-copy .proof h2 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0b1c34;
  margin: 0 0 2px;
  line-height: 1.3;
}

.case-section .case-copy .proof p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Right Column: Expansive Form Box */
.case-section .case-form {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #d9e3ee !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(12, 28, 52, 0.08) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.case-section .case-form .form-header {
  padding: 36px 44px 28px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border-bottom: 1px solid #e2eaf2 !important;
}

.case-section .case-form .form-header span {
  display: inline-block;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.case-section .case-form .form-header h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b1c34;
  margin: 0 0 6px;
}

.case-section .case-form .form-header p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.case-section .case-form .form-body {
  padding: 40px 48px 44px !important;
}

.case-section .case-form .form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 22px 24px !important;
}

.case-section .case-form .form-grid .field.full {
  grid-column: 1 / -1 !important;
}

.case-section .case-form .field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.case-section .case-form .field input,
.case-section .case-form .field select,
.case-section .case-form .field textarea {
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 18px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 14.5px !important;
  outline: 0 !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.case-section .case-form .field select {
  cursor: pointer;
}

.case-section .case-form .field textarea {
  min-height: 160px !important;
  resize: vertical;
  line-height: 1.6;
}

.case-section .case-form .field input:focus,
.case-section .case-form .field select:focus,
.case-section .case-form .field textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14) !important;
  background: #ffffff !important;
}

.case-section .case-form .field input[type="file"] {
  padding: 10px 14px !important;
  background: #f8fafc !important;
  border: 1.5px dashed #cbd5e1 !important;
  cursor: pointer;
}

.case-section .case-form .field input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.case-section .case-form .field input[type="file"]::file-selector-button:hover {
  background: #dbeafe;
}

.case-section .case-form .consent {
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
  margin: 26px 0 28px !important;
  padding: 16px 20px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  cursor: pointer;
}

.case-section .case-form .consent input {
  margin-top: 3px;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
}

.case-section .case-form .submit-case {
  width: 100% !important;
  min-height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25) !important;
}

.case-section .case-form .submit-case:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.32) !important;
}

.case-section .case-form .form-note {
  margin: 16px 0 0 !important;
  color: #64748b !important;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .case-section .frame.case-grid {
    grid-template-columns: 320px 1fr !important;
    gap: 32px !important;
  }
  .case-section .case-form .form-header,
  .case-section .case-form .form-body {
    padding: 28px 30px !important;
  }
}

@media (max-width: 900px) {
  .case-section .frame.case-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .case-section .case-copy {
    position: static;
  }
}

@media (max-width: 600px) {
  .case-section .frame.case-grid {
    width: 100% !important;
    padding: 0 16px !important;
  }
  .case-section .case-form .form-header,
  .case-section .case-form .form-body {
    padding: 24px 18px !important;
  }
  .case-section .case-form .form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
