/* ==========================================================================
   COLLEGEMUNSHI / MYMATHEWS PORTAL TEMPLATE
   Mobile-First & Tablet-Optimized Responsive Stylesheet
   Pure CSS & Inline SVGs - Zero External Images
   ========================================================================== */

:root {
  --primary: #ff7900;
  --primary-hover: #e56c00;
  --primary-light: #fff5eb;
  --secondary: #222222;
  --secondary-light: #333333;
  --accent-red: #f12b2b;
  --accent-red-hover: #d51e1e;
  --accent-blue: #0284c7;
  --accent-green: #16a34a;
  --text-main: #333333;
  --text-dark: #111827;
  --text-muted: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f3f5;
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --transition: all 0.2s ease-in-out;
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Roboto Condensed', 'Montserrat', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.5;
  font-size: 14px;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADINGS & GENERAL SECTION LAYOUT
   ========================================================================== */
.titleHd {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.25;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.titleHd span {
  color: var(--secondary);
}

.sec-subtitle {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0 auto 28px;
  max-width: 680px;
  line-height: 1.5;
}

.default-bg {
  background-color: var(--bg-white);
  padding: 50px 0 60px;
}

.lightGreenBg {
  background-color: var(--bg-gray);
  padding: 50px 0 60px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   TOP SEARCH HERO STRIP
   ========================================================================== */
.search-hero-strip {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #ffffff;
  padding: 36px 16px 42px;
  text-align: center;
  position: relative;
}

.search-hero-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-hero-title span {
  color: var(--primary);
}

.search-hero-sub {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 22px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-form-wrap {
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  transition: var(--transition);
}

.search-form-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.35);
}

.search-icon-box {
  padding: 0 14px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-icon-box svg {
  width: 20px;
  height: 20px;
}

.search-input-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px; /* >=16px on mobile handled in media query */
  color: var(--text-dark);
  padding: 8px 0;
  background: transparent;
  min-width: 0;
}

.search-submit-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8c1a 100%);
  color: #ffffff;
  border: none;
  padding: 11px 26px;
  font-weight: 700;
  font-size: 13.5px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   1. POPULAR STREAMS SECTION
   ========================================================================== */
.streams-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.stream-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
  min-height: 140px;
}

.stream-card:hover, .stream-card.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stream-card.active {
  background-color: var(--primary-light);
}

.stream-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: #fff7ed;
  border: 2px solid #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 10px;
  transition: var(--transition);
  flex-shrink: 0;
}

.stream-card:hover .stream-icon-wrap, .stream-card.active .stream-icon-wrap {
  background: linear-gradient(135deg, var(--primary) 0%, #ff9800 100%);
  color: #ffffff;
  border-color: var(--primary);
}

.stream-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.stream-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 3px;
}

.stream-card:hover .stream-title, .stream-card.active .stream-title {
  color: var(--primary);
}

.stream-count {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   2. LOCATIONS SECTION (Bangalore, Mangalore, Chennai, Kochi)
   ========================================================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 10px;
}

.location-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.location-card:hover, .location-card.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.location-top-banner {
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.location-card:nth-child(1) .location-top-banner {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.location-card:nth-child(2) .location-top-banner {
  background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
}

.location-card:nth-child(3) .location-top-banner {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.location-card:nth-child(4) .location-top-banner {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.location-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.location-banner-icon svg {
  width: 26px;
  height: 26px;
}

.location-college-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(2px);
}

.location-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.location-city-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.location-state-tag {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.location-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 12px;
  color: #475569;
}

.location-highlights li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-highlights li svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.location-explore-btn {
  margin-top: auto;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  color: var(--secondary);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  cursor: pointer;
  min-height: 38px;
}

.location-card:hover .location-explore-btn, .location-card.active .location-explore-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   3. POPULAR COLLEGES IN INDIA SECTION
   ========================================================================== */
.filter-scroll-wrapper {
  margin-bottom: 26px;
  display: flex;
  justify-content: center;
}

.colleges-filter-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-pill-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-height: 38px;
  user-select: none;
}

.filter-pill-btn:hover, .filter-pill-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.colleges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.college-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.college-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
  transform: translateY(-3px);
}

.college-banner-wrap {
  position: relative;
  height: 150px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.college-banner-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.college-banner-placeholder svg {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  opacity: 0.85;
}

.college-banner-placeholder span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #cbd5e1;
}

.college-badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(22, 163, 74, 0.95);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.college-rating-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #facc15;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(2px);
}

.college-header-overlap {
  position: relative;
  padding: 0 16px;
  margin-top: -24px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.college-emblem-placeholder {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.college-title-block {
  flex: 1;
  padding-bottom: 2px;
  min-width: 0;
}

.college-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.college-card:hover .college-name {
  color: var(--primary);
}

.college-card-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.college-meta-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  padding: 7px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.college-meta-list li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.college-meta-list li svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.college-stream-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.stream-tag-chip {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.college-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.btn-details {
  flex: 1;
  text-align: center;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  cursor: pointer;
  transition: var(--transition);
  min-height: 38px;
}

.btn-details:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-apply {
  flex: 1;
  text-align: center;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 700;
  background-color: var(--accent-red);
  color: #ffffff;
  border: 1px solid var(--accent-red);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  min-height: 38px;
}

.btn-apply:hover {
  background-color: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
}

/* ==========================================================================
   MODALS (Mobile & Tablet Optimized)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px 22px;
  position: relative;
  animation: modalScale 0.22s ease-out;
  -webkit-overflow-scrolling: touch;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.modal-close-btn:hover {
  color: var(--accent-red);
  background: #f1f5f9;
}

.modal-form-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
  padding-right: 30px;
}

.modal-form-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.form-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.form-control-full {
  margin-bottom: 12px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background: #ffffff;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.15);
}

.form-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #ff8c1a 100%);
  color: #ffffff;
  border: none;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
}

.form-submit-btn:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   TABLET RESPONSIVE STYLES (768px - 1024px)
   iPads, Android Tablets, Foldable Displays
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .default-bg, .lightGreenBg {
    padding: 42px 0 52px;
  }

  .titleHd {
    font-size: 26px;
  }

  .sec-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  /* Tablet Streams: 4 Columns balanced */
  .streams-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .stream-card {
    padding: 18px 8px;
    min-height: 130px;
  }

  .stream-icon-wrap {
    width: 46px;
    height: 46px;
  }

  /* Tablet Locations: 2x2 Grid */
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .location-top-banner {
    height: 105px;
  }

  /* Tablet Colleges: 2 Columns Grid */
  .colleges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .college-banner-wrap {
    height: 140px;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE STYLES (< 768px)
   Smartphones, iPhones, Portrait Tablets
   ========================================================================== */
@media (max-width: 767px) {
  body {
    font-size: 13.5px;
  }

  .container {
    padding: 0 16px;
  }

  .default-bg, .lightGreenBg {
    padding: 34px 0 42px;
  }

  .titleHd {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .sec-subtitle {
    font-size: 13.5px;
    margin-bottom: 20px;
  }

  /* Mobile Search Bar */
  .search-hero-strip {
    padding: 28px 14px 34px;
  }

  .search-hero-title {
    font-size: 21px;
    line-height: 1.25;
  }

  .search-hero-sub {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .search-form-wrap {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 8px;
    background: #ffffff;
    gap: 8px;
  }

  .search-icon-box {
    display: none;
  }

  .search-input-field {
    width: 100%;
    padding: 8px 10px;
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
    text-align: center;
  }

  .search-submit-btn {
    width: 100%;
    border-radius: var(--radius-sm);
    padding: 12px;
    min-height: 44px;
    font-size: 14px;
  }

  /* Mobile Streams Grid: 3 columns on larger phones, 2 on small */
  .streams-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stream-card {
    padding: 14px 6px;
    min-height: 115px;
    border-radius: var(--radius-sm);
  }

  .stream-icon-wrap {
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
  }

  .stream-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .stream-title {
    font-size: 11.5px;
    margin-bottom: 2px;
  }

  .stream-count {
    font-size: 10px;
  }

  /* Mobile Locations Grid: 1 Column with clean card layout */
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .location-top-banner {
    height: 95px;
  }

  .location-banner-icon {
    width: 42px;
    height: 42px;
  }

  .location-banner-icon svg {
    width: 22px;
    height: 22px;
  }

  .location-body {
    padding: 15px 14px;
  }

  .location-city-name {
    font-size: 17px;
  }

  /* Mobile Filter Strip: Horizontal Touch Swipe Row */
  .filter-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 6px;
    margin: 0 -16px 20px;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
  }

  .filter-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }

  .colleges-filter-strip {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .filter-pill-btn {
    padding: 7px 14px;
    font-size: 12px;
    min-height: 36px;
  }

  /* Mobile Colleges: 1 Column Stack */
  .colleges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .college-banner-wrap {
    height: 135px;
  }

  .college-emblem-placeholder {
    width: 46px;
    height: 46px;
    font-size: 14px;
  }

  .college-header-overlap {
    margin-top: -22px;
    padding: 0 12px;
    gap: 10px;
  }

  .college-name {
    font-size: 14.5px;
  }

  .college-card-content {
    padding: 12px 14px 14px;
  }

  .college-card-actions {
    gap: 8px;
  }

  .btn-details, .btn-apply {
    padding: 10px 8px;
    font-size: 12px;
    min-height: 42px;
  }

  /* Mobile Modal Enhancements */
  .modal-overlay {
    padding: 10px;
    align-items: flex-end; /* Bottom sheet style on small screens */
  }

  .modal-card {
    padding: 20px 16px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 88vh;
  }

  .modal-form-title {
    font-size: 18px;
  }

  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 11px 12px;
  }

  .form-submit-btn {
    padding: 13px;
    min-height: 46px;
  }
}

/* ==========================================================================
   EXTRA SMALL SCREENS (< 420px)
   iPhone SE, Galaxy A series, Small Androids
   ========================================================================== */
@media (max-width: 420px) {
  .streams-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stream-card {
    min-height: 110px;
  }

  .search-hero-title {
    font-size: 19px;
  }
}
