.ir-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px 100px;
  box-sizing: border-box;
}

.ir-tabs {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin: 15px auto;
  width: 100%;
}

.ir-tab-nav {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.ir-tab-btn {
  flex: 1;
  padding: 20px 30px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #666;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
    Roboto, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 3px solid transparent;
}

.ir-tab-btn:hover {
  background: #fff;
  color: #333;
}

.ir-tab-btn.active {
  background: #fff;
  color: #6026f4;
  border-bottom-color: #6026f4;
}

.ir-tab-content {
  display: none;
  padding: 16px;
}

.ir-tab-content.active {
  display: block;
}

.ir-frame-wrapper {
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  margin: 0 auto;
}

.ir-frame-wrapper iframe {
  width: 72%;
  max-width: 100%;
  height: 80vh;
  border: none;
  background: #fff;
  display: block;
  margin: 0 auto;
}

.ir-mobile-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  min-height: 400px;
}

.ir-mobile-icon {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ir-mobile-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #e8e8e8;
}

.ir-mobile-icon .fa-file-alt {
  position: relative;
  font-size: 3.5rem;
  color: #999;
  z-index: 1;
}

.ir-mobile-icon .fa-search {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 1.5rem;
  color: #999;
  z-index: 2;
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ir-mobile-link {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.ir-mobile-link:hover {
  border-color: #999;
  color: #333;
  background: #f8f9fa;
}

@media (max-width: 768px) {
  .ir-tab-nav {
    flex-wrap: wrap;
  }

  .ir-tab-btn {
    flex: 1 1 50%;
    padding: 15px 20px;
    font-size: 1rem;
    min-width: calc(50% - 1px);
  }

  .ir-frame-wrapper {
    display: none;
  }

  .ir-mobile-fallback {
    display: flex;
  }

  .ir-frame-wrapper iframe {
    height: 70vh;
  }
}
