/* ==========================================================================
   Udhyog Internships Portal Styling
   Matches high-fidelity internship UI design
   ========================================================================== */

:root {
  --intern-primary: #0a2540;
  --intern-primary-light: #123e6b;
  --intern-accent-blue: #2563eb;
  --intern-accent-orange: #f95738;
  --intern-accent-orange-hover: #e04325;
  --intern-accent-yellow: #f7b731;
  --intern-text-dark: #0f172a;
  --intern-text-muted: #64748b;
  --intern-bg-light: #f8fafc;
  --intern-card-border: #e2e8f0;
  --intern-card-radius: 12px;
  --intern-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --intern-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --intern-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
}



/* Top bar for Internship View */
.intern-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.intern-subnav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.intern-subnav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.intern-switch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #334155;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.intern-switch-badge:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.intern-subnav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-intern-pill {
  border-radius: 24px;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 22px;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.btn-intern-dark {
  background: #0b1a30;
  color: #ffffff !important;
  border: 1.5px solid #0b1a30;
}

.btn-intern-dark:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(11, 26, 48, 0.25);
  color: #ffffff !important;
}

.btn-intern-outline {
  background: #ffffff;
  color: #0b1a30 !important;
  border: 1.5px solid #0b1a30;
}

.btn-intern-outline:hover {
  background: #0b1a30;
  color: #ffffff !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.intern-hero-section {
  position: relative;
  width: 100%;
  height: clamp(500px, 56.25vw, 780px);
  min-height: 500px;
  background: #081d38 url('../img/Internship_hero_students.png') no-repeat center top;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 35px;
  overflow: hidden;
}

.intern-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(8, 29, 56, 0.1) 0%,
      transparent 20%,
      transparent 75%,
      rgba(8, 29, 56, 0.35) 100%);
  z-index: 1;
}

.intern-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Banner graphic spacer - hero is now auto-fitted so spacer is minimal */
.intern-hero-banner-spacing {
  height: 0px;
  display: none;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.intern-hero-center-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.intern-hero-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #cbd5e1;
  font-size: 24px;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.intern-hero-icon-badge i {
  color: #f7b731;
}

.intern-hero-icon-badge .divider-arrow {
  color: #60a5fa;
  font-size: 16px;
}

.intern-hero-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75), 0 4px 24px rgba(0, 0, 0, 0.55);
}

.intern-hero-title .highlight-career {
  color: #f7b731;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.intern-hero-title .highlight-brand {
  font-size: 32px;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.intern-hero-subtitle {
  color: #ffffff;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 26px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* Search Box Container */
.intern-search-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.intern-search-field {
  flex: 1;
  text-align: left;
  padding: 6px 14px;
  position: relative;
}

.intern-search-field:first-child {
  border-right: 1px solid #e2e8f0;
}

.intern-search-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.intern-search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
  background: transparent;
  padding: 0;
}

.intern-search-select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.intern-search-btn {
  background: #f95738;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(249, 87, 56, 0.35);
}

.intern-search-btn:hover {
  background: #e04325;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 87, 56, 0.45);
}

.intern-btn-text-short {
  display: none;
}

.intern-btn-text-full {
  display: inline;
}

/* Popular Filters Pills */
.intern-popular-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #ffffff;
  font-size: 13.5px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.intern-filter-title {
  font-weight: 700;
  margin-right: 4px;
}

.intern-filter-pill {
  background: rgba(10, 25, 47, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.intern-filter-pill:hover,
.intern-filter-pill.active {
  background: #ffffff;
  color: #0a2540;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-shadow: none;
}

/* ==========================================================================
   AI Recommendations Banner
   ========================================================================== */
.intern-ai-banner-section {
  padding: 28px 0 10px;
  background: #f8fafc;
}

.intern-ai-card {
  background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 60%, #c9e4fc 100%);
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 24px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
}

.intern-ai-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: 180px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.intern-ai-content {
  flex: 1;
  max-width: 680px;
  z-index: 1;
}

.intern-ai-title {
  color: #1e3a8a;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.25;
}

.intern-ai-title span {
  color: #2563eb;
}

.intern-ai-desc {
  color: #334155;
  font-size: 14.5px;
  margin-bottom: 18px;
  font-weight: 500;
}

.btn-ai-recommend {
  background: #2563eb;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.btn-ai-recommend:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.intern-ai-avatar {
  flex-shrink: 0;
  margin-left: 20px;
  z-index: 1;
}

.intern-ai-robot-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
  animation: floatRobot 4s ease-in-out infinite;
  background: #ffffff;
  padding: 4px;
  border: 3px solid #60a5fa;
}

@keyframes floatRobot {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   Stats Counter Row
   ========================================================================== */
.intern-stats-section {
  padding: 24px 0 20px;
  background: #f8fafc;
}

.intern-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.intern-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  box-shadow: var(--intern-shadow-sm);
  transition: all 0.25s ease;
}

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

.intern-stat-icon {
  font-size: 26px;
  color: #2563eb;
  margin-bottom: 8px;
}

.intern-stat-number {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 2px;
}

.intern-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: capitalize;
}

/* ==========================================================================
   Popular Categories
   ========================================================================== */
.intern-categories-section {
  padding: 24px 0 35px;
  background: #f8fafc;
}

.intern-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.intern-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.intern-section-link {
  color: #2563eb;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.intern-section-link:hover {
  color: #1d4ed8;
  transform: translateX(2px);
}

.intern-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.intern-category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  box-shadow: var(--intern-shadow-sm);
}

.intern-category-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--intern-shadow-md);
}

.intern-category-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
  transition: all 0.25s ease;
}

.intern-category-card:hover .intern-category-icon-box {
  transform: scale(1.08);
}

.intern-category-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.intern-category-count {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

/* Icon box theme colors */
.cat-it {
  background: #eff6ff;
  color: #2563eb;
}

.cat-eng {
  background: #f0fdf4;
  color: #16a34a;
}

.cat-mkt {
  background: #fdf2f8;
  color: #db2777;
}

.cat-hr {
  background: #fff7ed;
  color: #ea580c;
}

.cat-fin {
  background: #f5f3ff;
  color: #7c3aed;
}

.cat-des {
  background: #fffbeb;
  color: #d97706;
}

.cat-sales {
  background: #ecfdf5;
  color: #059669;
}

.cat-ops {
  background: #ecfeff;
  color: #0891b2;
}

.cat-health {
  background: #fef2f2;
  color: #dc2626;
}

.cat-more {
  background: #f1f5f9;
  color: #475569;
}

/* ==========================================================================
   Main Content Split Section
   ========================================================================== */
.intern-main-content-section {
  padding: 30px 0 60px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* Left Sidebar Value Cards */
.intern-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--intern-shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.25s ease;
}

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

.intern-sidebar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.icon-verified {
  background: #eff6ff;
  color: #2563eb;
}

.icon-skills {
  background: #fff7ed;
  color: #ea580c;
}

.icon-cert {
  background: #f5f3ff;
  color: #7c3aed;
}

.icon-ppo {
  background: #ecfdf5;
  color: #059669;
}

.intern-sidebar-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.intern-sidebar-info p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* Right Column Listings */
.intern-listings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.intern-results-count {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.intern-results-count span {
  color: #2563eb;
}

.intern-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.intern-title-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 270px;
}

.intern-title-search-wrap .intern-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 13.5px;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
  margin: 0;
}

.intern-title-search-input {
  width: 100% !important;
  height: 38px !important;
  line-height: normal !important;
  padding: 8px 32px 8px 38px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  color: #0f172a !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.intern-title-search-input:focus {
  border-color: #00c0ef !important;
  box-shadow: 0 0 0 3px rgba(0, 192, 239, 0.15) !important;
  background: #ffffff !important;
}

.btn-clear-title-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: none;
  z-index: 2;
}

.btn-clear-title-search:hover {
  color: #0f172a;
}

.intern-sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.intern-sort-select {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 13px;
  color: #0f172a;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Pagination Styles */
.intern-pagination-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 35px 0 25px;
  gap: 12px;
}

.intern-pagination {
  display: inline-flex;
  align-items: center;
  list-style: none;
  padding: 4px;
  margin: 0;
  gap: 5px;
  background: #ffffff;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.intern-pagination li {
  margin: 0;
  padding: 0;
}

.intern-pagination li a,
.intern-pagination li button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 50px;
  border: 1px solid transparent;
  background: transparent;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
}

.intern-pagination li a:hover,
.intern-pagination li button:hover {
  background: #f1f5f9;
  color: #00c0ef;
  border-color: #e2e8f0;
}

.intern-pagination li.active a,
.intern-pagination li.active button {
  background: #00c0ef !important;
  color: #ffffff !important;
  border-color: #00c0ef !important;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(0, 192, 239, 0.35);
}

.intern-pagination li.disabled a,
.intern-pagination li.disabled button {
  color: #cbd5e1 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: transparent !important;
  border-color: transparent !important;
}

.intern-pagination-info {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.intern-pagination-info span {
  font-weight: 700;
  color: #0f172a;
}

/* Profile Notice Banner */
.intern-profile-alert-bar {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 15px;
  flex-wrap: wrap;
}

.intern-profile-alert-text {
  font-size: 13px;
  color: #92400e;
  font-weight: 500;
  margin: 0;
  line-height: 1.45;
}

.btn-complete-profile {
  background: #0f172a;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 6px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-complete-profile:hover {
  background: #1e293b;
}

/* Internship Job Card */
.internship-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--intern-shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}

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

.internship-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.internship-card-content {
  flex: 1;
}

.internship-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.internship-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.internship-company-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #475569;
  font-weight: 600;
  margin-bottom: 10px;
}

.verified-badge {
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
}

.internship-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: #334155;
  font-weight: 500;
  margin-bottom: 12px;
}

.internship-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.internship-meta-item i {
  color: #64748b;
  font-size: 13px;
}

.internship-skills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.internship-skill-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}

.internship-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.internship-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.btn-apply-intern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f95738;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(249, 87, 56, 0.25);
  transition: all 0.2s ease;
  text-decoration: none !important;
  text-align: center;
}

.btn-apply-intern:hover,
.btn-apply-intern:focus {
  background: #e04325;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 87, 56, 0.35);
  text-decoration: none !important;
}

.btn-save-intern {
  background: #ffffff;
  color: #475569 !important;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-save-intern:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a !important;
}

.btn-save-intern.saved {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb !important;
}

/* Company initial logo icon */
.internship-company-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  color: #1e3a8a;
  flex-shrink: 0;
}

/* Modals */
.intern-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.intern-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.intern-modal-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.intern-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.intern-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Toast Notification */
.intern-toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 1000000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.intern-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991px) {
  .intern-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .intern-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intern-hero-section {
    height: auto;
    min-height: 520px;
    background-position: center top;
    padding: 0 0 25px;
  }

  .intern-hero-banner-spacing {
    height: 0px;
    display: none;
  }

  .intern-hero-title {
    font-size: 32px;
  }

  .intern-hero-title .highlight-career {
    font-size: 36px;
  }

  .intern-hero-title .highlight-brand {
    font-size: 24px;
  }

  .intern-search-card {
    flex-direction: row;
    padding: 6px 8px;
    gap: 6px;
    align-items: center;
    border-radius: 12px;
  }

  .intern-search-field {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    border-bottom: none !important;
    padding: 3px 6px;
  }

  .intern-search-field:first-child {
    flex: 1.35 1 0;
    border-right: 1px solid #e2e8f0 !important;
  }

  .intern-search-label {
    font-size: 9.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .intern-search-input {
    font-size: 12.5px;
    padding: 4px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    width: 100%;
  }

  .intern-search-select {
    font-size: 12.5px;
    padding: 4px 0;
    background: transparent;
    width: 100%;
  }

  .intern-search-btn {
    flex-shrink: 0;
    width: auto;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .intern-ai-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .intern-ai-avatar {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .intern-hero-section {
    height: auto;
    min-height: 480px;
    background: #081d38 url('../img/banner-mobile.png') no-repeat center top;
    background-size: cover;
    padding: 0 0 20px;
  }

  .intern-hero-banner-spacing {
    height: clamp(330px, 92vw, 380px);
    display: block;
  }

  .intern-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .internship-card-main {
    flex-direction: column;
  }

  .internship-card-actions {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
  }

  .btn-apply-intern,
  .btn-save-intern {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .intern-hero-title {
    font-size: 26px;
  }

  .intern-hero-title .highlight-career {
    font-size: 30px;
  }

  .intern-hero-title .highlight-brand {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  .intern-btn-text-full {
    display: none !important;
  }

  .intern-btn-text-short {
    display: inline !important;
  }
}

@media (max-width: 480px) {
  .intern-hero-section {
    height: auto;
    min-height: 460px;
  }

  .intern-search-card {
    padding: 6px 6px !important;
    gap: 4px !important;
  }

  .intern-search-field {
    padding: 2px 4px !important;
  }

  .intern-search-label {
    font-size: 9px !important;
  }

  .intern-search-input,
  .intern-search-select {
    font-size: 12px !important;
  }

  .intern-search-btn {
    padding: 9px 10px !important;
    font-size: 12px !important;
  }
}