body {
  overflow-x: hidden;
  margin: 0;
}

.datalab-container {
  width: 1100px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  padding-bottom:200px;
}

/* MARK: 배너 영역 */
.datalab-banner {
  background: linear-gradient(180deg, #424857 -2.27%, #083EC7 109.74%);
  color: #fff;
  padding: 60px;
  border-radius: 20px;
  position: relative;
  height: 300px;
  overflow: hidden;
}

.banner-content {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.banner-content h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.banner-content p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #fff;
  letter-spacing: -0.3px;
  word-spacing: 1px;
}

.banner-content .sub-text {
  color: #90CAF9;
  font-size: 16px;
  letter-spacing: -0.2px;
  margin-bottom: 0 !important;
}

.banner-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 100%;
  background-image: url('/assets/data/img/datalab/main/mainBanner.png');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  opacity: 0.9;
}

/* MARK: 알림 영역 */
.notice-section {
  margin: 30px 0;
  background-color: #FFF3EF;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  box-sizing: border-box;
}

.notice-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}

.notice-badge {
  background-color: #F14040;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  flex: 0 0 auto !important;
}

.notice-text {
  color: #333;
  font-size: 16px;
  flex: 0 0 auto !important;
}

.notice-text-emphasize {
  color: #F14040;
  font-weight: 500;
}

.notice-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  margin-left: 10px !important;
  flex: 0 0 auto !important;
}

.notice-link:hover {
  text-decoration: underline;
}

/* MARK: 검색 영역 */
.search-section {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.search-box {
  position: relative;
  width: 100%;
  border: 1px solid #fff;
  border-radius: 4px;
}

.search-results {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-height: 50px; /* 최소 높이 추가 */
}

.guide-text {
  display: block;
  font-size: 13px;
  line-height: 13px;
  color: #999;
  padding: 8px 15px;;
}

.results-list {
  margin: 0;
  padding: 8px 0;  /* 상하 패딩 추가 */
  list-style: none;
  border: 1px solid #fff;
  border-radius: 4px;
}

.results-list li {
  font-size: 16px;
  padding: 12px 15px;
  cursor: pointer;
}


.results-list li:last-child {
  border-bottom: none;
}

.results-list li:hover {
  background-color: #f5f5f5;
}

.results-list li a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  display: block;
}

.results-list .no-result {
  height: 150px;
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-item .company-info {
  flex: 1;
}

.company-item .company-name {
  font-weight: 500;
  margin-bottom: 4px;
}

.search-input {
  width: 100%;
  padding: 12px 20px;
  padding-right: 50px;
  /* 아이콘 공간 확보 */
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url('/assets/data/img/datalab/main/search.png') no-repeat center;
  background-size: contain;
  border: none;
  cursor: pointer;
}

/* MARK: 섹션 제목 */
.section-title {
  margin: 40px 0 30px 0 !important;
}

.section-title .sub-title {
  font-size: 16px;
  color: #666;
  margin-bottom: 12px !important;
}

.section-title .main-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  letter-spacing: -0.5px;
}

/* MARK: 산업 목록 필터 */
.industry-filter {
  margin-bottom: 40px !important;
}

.filter-list {
  display: flex;
  gap: 8px !important;
  list-style: none;
  padding: 0;
}

.filter-list li {
  color: #495264;
  padding: 11px 16px 11px 16px !important;
  background: #F6F7F9;
  border-radius: 8px !important;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-list li.active {
  background: #282D37;
  color: #fff;
  font-weight: 600;
}

/* MARK: 기업 목록 */
.company-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

.company-card {
  min-width: 0;
  height: 150px;
  border-right: 1px solid #E4E4E4;
  border-bottom: 1px solid #E4E4E4;
  margin: 0;
  padding: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  text-decoration: none;
  box-sizing: border-box;
}

/* 첫 번째 열에만 왼쪽 테두리 추가 */
.company-card:nth-child(5n + 1) {
  border-left: 1px solid #E4E4E4;
}

/* 첫 번째 행에만 상단 테두리 추가 */
.company-card:nth-child(-n + 5) {
  border-top: 1px solid #E4E4E4;
}

.company-card:hover {
  position: relative;
  z-index: 1;
  outline: 1px solid #333;
  outline-offset: 0;
}

.card-header {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  min-height: 24px;
}

.card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

.card-footer {
  flex: 0 0 auto;
  width: 100%;
  padding-top: 10px;
  margin-top: auto;
}

.company-logo {
  max-width: 140px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo img {
  /* max-width: 100%;
  max-height: 100%; */
  width: 172px;
  height: 60px;
  object-fit: contain;
}

.company-name {
  font-size: 14px;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  text-align: left;
}

.recruit-badge {
  height: 22px;
  padding: 0 6px;
  background: #F14040;
  color: #fff;
  font-size: 12px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.follow-button {
  width: 24px;
  height: 24px;
  background: url('/assets/data/img/datalab/main/unfollow.png') no-repeat center !important;
  background-size: 20px !important;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.8;
  margin-left: auto;
}

.follow-button.active {
  background: url('/assets/data/img/datalab/main/follow.png') no-repeat center !important;
  /* 활성화된 상태도 경로 수정 */
}

/* 기업이 없을 때 표시되는 메시지 스타일 */
.no-companies {
  grid-column: 1 / -1;  /* 그리드의 전체 너비를 차지 */
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-companies p {
  color: #A7A7A7;
  font-size: 15px;
  text-align: center;
  margin: 0;
}

/* MARK: 플로팅 배너 */
.floating-status {
  position: fixed;
  right: calc(50% - 550px - 180px);
  top: 450px;
  width: 180px;
  background: #FFFFFF;
  border: 1px solid #E4E4E4;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.floating-title {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
  letter-spacing: -0.5px;
  padding: 12px;
  border-bottom: 2px solid #F5F5F5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.title-left {
  flex: 1;
}

.year-half {
  display: block;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 2px;
}

.title-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-emoji {
  font-size: 20px;
  margin-bottom: 4px;
}

.more-link {
  font-size: 12px;
  color: #666;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.floating-title-sub {
  font-size: 16px;
  font-weight: 700;
  display: block;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px;
  cursor: pointer;
  width: calc(100% + -2px);
  height: 45px;
  border-bottom: 2px solid #F5F5F5;
}

.status-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.status-label {
  font-size: 15px;
  color: #666;
}

.status-value {
  font-size: 15px;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 50px; /* NEW 표시를 포함한 최소 너비 */
}

.status-new {
  font-size: 12px;
  color: #F14040;
  font-weight: 500;
  width: 35px; /* NEW 표시의 고정 너비 */
}

/* NEW가 없을 때 공간 확보를 위한 가상 요소 */
.status-value::after {
  content: '';
  width: 35px; /* NEW 표시와 동일한 너비 */
  display: inline-block;
}

/* NEW가 있을 때는 가상 요소 숨김 */
.status-value:has(.status-new)::after {
  display: none;
}

/* 상태별 기업 리스트 모달 */
.status-detail-modal {
  position: fixed;
  right: calc(50% - 550px + 10px);
  top: 450px;
  width: 180px;
  background: #FFFFFF;
  border: 1px solid #E4E4E4;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 99;
  display: none;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 2px solid #F5F5F5;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 0;
}

.company-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-list li {
  padding: 0;
  border-bottom: 2px solid #F5F5F5;
}

.company-list li:last-child {
  border-bottom: none;
}

.company-list a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 12px;
}

.company-list a:hover {
  background-color: #F5F8FF;
}

.company-list a:hover .modal-company-name {
  color: #2561FA;
}

.status-check-needed {
  color: #F14040;
  font-size: 11px;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  text-decoration: none !important;
}

.status-check-needed::after {
  content: '•';
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  vertical-align: 1px;
}

.company-name {
  display: block;
  text-align: center;
}

.modal-company-name {
  display: block;
  text-align: left;
}

.status-item:hover {
  background-color: #F5F8FF;
}

.status-item:hover .status-number {
  color: #2561FA;
  text-decoration: underline;
}


.status-new {
  font-size: 12px;
  color: #F14040;
  font-weight: 500;
}


/* MARK: 우측 플로팅 배너 스타일 */
.floating-banner {
  position: fixed;
  left : calc(50% + 750px);
  /* 컨텐츠 영역 width(1100px)의 절반 + 여유공간 */
  z-index: 100;
  /* display: flex;
  flex-direction: column; */
  gap: 24px;
}

.banner-item {
  cursor: pointer;
}

.banner-item img {
  /* max-width: 100%; */
  width: 160px;
  height: auto;
  display: block;
}

.alarm-banner {
  transition: transform 0.2s ease;
}

/* MARK: 우측 컨텐츠 영역 */
.content-area {
  flex: 1;
}
