body {
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.internship-card {
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.internship-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.loader {
  width: 100%;
  height: 180px;
  margin: auto;
  display: block;
  position: relative;
  background: #FFF;
  box-sizing: border-box;
  border-radius: 8px;
}

.loader::after {
  content: '';  
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  top: 15px;
  left: 15px;
  position: absolute;
  background-image: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5) 50%, transparent 80%), linear-gradient(#DDD 56px, transparent 0), linear-gradient(#DDD 24px, transparent 0), linear-gradient(#DDD 18px, transparent 0), linear-gradient(#DDD 66px, transparent 0);
  background-repeat: no-repeat;
  background-size: 75px 130px, 55px 56px, 160px 30px, 260px 20px, 290px 56px;
  background-position: 0% 0, 0 0, 70px 5px, 70px 38px, 0px 66px;
  box-sizing: border-box;
  animation: animloader 1s linear infinite;
}

@keyframes animloader {
  0% {
    background-position: 0% 0, 0 0, 70px 5px, 70px 38px, 0px 66px;
  }
  100% {
    background-position: 150% 0, 0 0, 70px 5px, 70px 38px, 0px 66px;
  }
}

.circular-loader {
  border: 3px solid #f3f4f6;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

.large-circular-loader {
  border: 4px solid #f3f4f6;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

.pill-remote {
  background-color: #dbeafe;
  color: #1e40af;
}

.pill-onsite {
  background-color: #dbeafe;
  color: #1e40af;
}

.pill-hybrid {
  background-color: #dbeafe;
  color: #1e40af;
}

.pill-internship {
  background-color: #dbeafe;
  color: #1e40af;
}

.worktype-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid #d1d5db;
  background: white;
  color: #4b5563;
  width: 100%;
  margin-bottom: 8px;
  text-align: center;
}

.worktype-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.worktype-btn:hover:not(.active) {
  background: #f3f4f6;
}

.sidebar {
  position: sticky;
  top: 5rem;
  height: fit-content;
}

.internships-grid {
  display: grid;
  gap: 1rem;
}

.sidebar-bg {
  background-color: #f8fafc;
}

.sidebar-border {
  border-right: 1px solid #e5e7eb;
}

.detail-content {
  font-size: 0.85rem;
  line-height: 1.5;
}

.detail-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.detail-section {
  margin-bottom: 1.2rem;
}

.warning-box {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: #92400e;
  margin-top: 10px;
}

.description-content {
  font-size: 0.85rem;
  line-height: 1.6;
}

.description-content strong {
  font-weight: 600;
  color: #1f2937;
}

.description-content ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
  list-style-type: disc;
}

.description-content ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
  list-style-type: decimal;
}

.description-content li {
  margin-bottom: 0.25rem;
}

.description-content p {
  margin-bottom: 0.75rem;
}

@media (max-width: 1023px) {
  .internships-grid {
    grid-template-columns: 1fr;
  }
  
  main {
    padding-top: 2rem;
  }
  
  .detail-container {
    width: 98%;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .internships-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .detail-container {
    width: 90%;
    max-width: none;
  }
}

@media (min-width: 1280px) {
  .internships-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .detail-container {
    width: 85%;
    max-width: none;
  }
}
