/* 기술 스택 모달 스타일 */
.common_modal_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech_modal_inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.4s ease;
}
.tech_modal_inner .common_modal_close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  z-index: 10;
}
.tech_modal_inner .common_modal_close:hover {
  background-color: #ccc;
}
.tech_modal_content {
  position: relative;
  padding: 50px;
  overflow-y: auto;
}

/* 스크롤바 스타일 */
.tech_modal_content::-webkit-scrollbar {
  width: 5px;
}

.tech_modal_content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.tech_modal_content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-theme-purple) 0%, #764ba2 100%);
  border-radius: 4px;
}

.tech_modal_content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5568d3 0%, #653a8a 100%);
}

.tech_modal_header {
  margin-bottom: 35px;
  position: relative;
}

.tech_modal_header::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-theme-purple) 0%, #764ba2 100%);
  border-radius: 2px;
}

.tech_modal_label {
  color: var(--color-theme-purple);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  background: linear-gradient(135deg, var(--color-theme-purple) 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech_modal_title {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.tech_modal_subtitle {
  font-size: 19px;
  font-weight: 500;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 0;
}

.tech_modal_body {
  margin-top: 24px;
}

.tech_modal_desc {
  font-size: 16px;
  color: #64748b;
  line-height: 1.9;
  margin-bottom: 35px;
  white-space: pre-wrap;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 4px solid var(--color-theme-purple);
  border-radius: 8px;
}

.tech_modal_table {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.tech_modal_table table {
  width: 100%;
  border-collapse: collapse;
}

.tech_modal_table thead {
  background: linear-gradient(135deg, var(--color-theme-purple) 0%, #764ba2 100%);
  position: relative;
}

.tech_modal_table thead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.tech_modal_table thead th {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 24px;
  text-align: left;
  letter-spacing: 0.5px;
}

.tech_modal_table thead th:first-child {
  width: 30%;
}

.tech_modal_table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.2s ease;
}

.tech_modal_table tbody tr:hover {
  background: #f8fafc;
}

.tech_modal_table tbody tr:last-child {
  border-bottom: none;
}

.tech_modal_table tbody td {
  padding: 18px 24px;
  font-size: 15px;
  color: #475569;
  vertical-align: top;
  line-height: 1.7;
}

.tech_modal_table tbody td:first-child {
  font-weight: 700;
  color: var(--color-theme-purple);
  background: linear-gradient(135deg, var(--color-theme-purple) 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech_modal_close_btn {
  display: block;
  width: 220px;
  margin: 20px auto 0;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--color-theme-purple) 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  letter-spacing: 0.5px;
}

.tech_modal_close_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
  background: linear-gradient(135deg, #5568d3 0%, #653a8a 100%);
}

.tech_modal_close_btn:active {
  transform: translateY(-1px);
}

/* 반응형 */
@media (max-width: 768px) {
  .tech_modal_inner {
    max-width: 95%;
    border-radius: 16px;
  }
  .tech_modal_inner .common_modal_close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .tech_modal_content {
    padding: 30px 24px;
  }

  .tech_modal_title {
    font-size: 32px;
  }

  .tech_modal_subtitle {
    font-size: 17px;
  }

  .tech_modal_desc {
    font-size: 15px;
    padding: 16px;
  }

  .tech_modal_table thead th,
  .tech_modal_table tbody td {
    padding: 14px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .tech_modal_content {
    padding: 24px 18px;
  }

  .tech_modal_title {
    font-size: 26px;
  }

  .tech_modal_subtitle {
    font-size: 15px;
  }

  .tech_modal_desc {
    font-size: 14px;
    padding: 14px;
  }

  .tech_modal_table {
    font-size: 13px;
    border-radius: 12px;
  }

  .tech_modal_table thead th,
  .tech_modal_table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .tech_modal_close_btn {
    width: 100%;
    font-size: 15px;
    padding: 14px 24px;
  }
}
