/* ============================================
   APPLY — Internship Application Portal styles
   ============================================ */
:root {
  --primary:      #0F172A;
  --accent:       #2563EB;
  --accent-hover: #1d4ed8;
  --bg-left:      #F8FAFC;
  --bg-right:     #FFFFFF;
  --text-dark:    #1E293B;
  --text-light:   #64748B;
  --border:       #E2E8F0;
  --success:      #10B981;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }

body { height: 100vh; display: flex; overflow-x: hidden; }

.split-left {
  width: 40%;
  background-color: var(--bg-left);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  border-right: 1px solid var(--border);
}

.brand-logo {
  font-weight: 800; font-size: 1.5rem;
  color: var(--accent); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 10px;
}

.hero-title { font-size: 2.5rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; margin-bottom: 1.5rem; }
.hero-text  { color: var(--text-light); font-size: 1.1rem; line-height: 1.6; max-width: 450px; }

.features { margin-top: 3rem; list-style: none; }
.features li {
  margin-bottom: 1rem; display: flex; align-items: center;
  color: var(--text-dark); font-weight: 500;
}
.features li::before {
  content: "✓"; color: var(--accent); background: #DBEAFE;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-right: 12px; font-size: 14px; font-weight: bold;
}

.split-right {
  width: 60%; background-color: var(--bg-right);
  overflow-y: auto; padding: 4rem;
  display: flex; justify-content: center; align-items: flex-start;
}

.form-container { width: 100%; max-width: 600px; }
.form-header { margin-bottom: 2rem; }
.form-header h2 { font-size: 1.75rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-header p  { color: var(--text-light); }

form { display: flex; flex-direction: column; gap: 1.25rem; }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

input:not([type="radio"]), select {
  width: 100%; padding: 0.9rem 1rem;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 0.95rem; color: var(--text-dark);
  background: #fff; transition: all 0.2s;
}
input:focus, select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
::placeholder { color: #94A3B8; }

.price-card {
  background: #F1F5F9; padding: 1rem; border-radius: 8px;
  display: flex; justify-content: space-between; align-items: center;
  border: 1px dashed #CBD5E1;
}
.price-label { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }
.price-value { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); }

.radio-group-label {
  display: block; margin-bottom: 0.5rem;
  font-size: 0.85rem; font-weight: 600; color: var(--text-dark);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.radio-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.radio-container label  { position: relative; cursor: pointer; }
.radio-container input  { position: absolute; opacity: 0; cursor: pointer; }
.radio-btn-face {
  display: flex; justify-content: center; align-items: center;
  padding: 0.75rem; border: 1px solid var(--border); border-radius: 6px;
  color: var(--text-light); font-size: 0.9rem; font-weight: 500; transition: all 0.2s;
}
.radio-container input:checked + .radio-btn-face {
  background-color: var(--accent); color: white; border-color: var(--accent);
  box-shadow: 0 4px 6px -1px rgba(37,99,235,0.3);
}

.referral-section { position: relative; }
.referral-label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 500; color: var(--text-dark); }
.optional-badge { font-size: 0.75rem; color: var(--text-light); font-weight: 400; margin-left: 5px; }
.referral-info  { font-size: 0.8rem; color: var(--text-light); margin-top: 0.4rem; display: flex; align-items: center; gap: 5px; }

button[type="submit"] {
  background-color: var(--primary); color: white;
  padding: 1rem; border: none; border-radius: 8px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: transform 0.1s, background-color 0.2s;
  margin-top: 1rem; display: flex; justify-content: center; align-items: center; gap: 8px;
}
button[type="submit"]:hover  { background-color: #1e293b; transform: translateY(-1px); }
button[type="submit"]:active { transform: translateY(0); }
.lock-icon { width: 16px; height: 16px; fill: currentColor; opacity: 0.8; }

.secure-text {
  text-align: center; font-size: 0.8rem; color: #94A3B8;
  margin-top: 1rem; display: flex; justify-content: center; align-items: center; gap: 5px;
}

@media (max-width: 900px) {
  body         { flex-direction: column; height: auto; }
  .split-left  { width: 100%; padding: 2rem; border-right: none; border-bottom: 1px solid var(--border); }
  .split-right { width: 100%; padding: 2rem; height: auto; }
  .radio-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .input-grid { grid-template-columns: 1fr; }
}
