.calculator-content h1,
.calculator-content h2,
.calculator-content h3 {
  font-family: Manrope;
  color: #101f3a;
}
.calculator-content p,
.calculator-content td,
.calculator-content span,
.calculator-content th {
  font-size: 16px;
  line-height: 27px;
  font-family: Open Sans;
  color: #303c42;
}
body {
  margin: 0;
  padding: 0;
}
.calculator-content {
  display: flex;
}
.calculator-content .calculator-wrap {
  flex: 0 0 420px;
  width: 420px;
  padding: 2.4vw 2vw 3vw 8.3vw;
  border-right: 1px solid #e2e2e2;
}
.calculator-content .calculator-wrap .back-button {
  margin-bottom: 24px;
  display: inline-block;
  width: 85px;
  height: 33px;
}
.calculator-content .calculator-wrap .back-button img {
  width: 100%;
  height: 100%;
}
.calculator-content .calculator-wrap .back-button:hover {
  cursor: pointer;
}
.calculator-content .calculator-wrap h1 {
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 36px;
}
.calculator-content .calculator-wrap .calculator-intro {
  margin-bottom: 20px;
}
.calculator-content .calculator-wrap .line {
  margin: 20px auto;
  width: 100%;
  height: 1px;
  background-color: #D5DFE9;
}
.calculator-content .calculator-wrap .input-group {
  margin-bottom: 20px;
}
.calculator-content .calculator-wrap .input-group .input-label {
  display: block;
  margin-bottom: 12px;
  font-family: Manrope;
  font-weight: 600;
  color: #303c42;
}
.calculator-content .calculator-wrap .input-group .input-select {
  padding: 14px 40px 14px 16px;
  width: 100%;
  border: 1px solid #D5DFE9;
  background: #F2F4F6;
  border-radius: 5px;
  font-size: 16px;
  color: #303c42;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  transition: all 0.2s;
}
.calculator-content .calculator-wrap .input-group .input-select:hover {
  border-color: #006ee1;
}
.calculator-content .calculator-wrap .input-group .input-select:focus {
  border-color: #006ee1;
  box-shadow: 0 0 0 3px rgba(0, 152, 240, 0.1);
}
.calculator-content .calculator-wrap .architecture-selection {
  display: flex;
  gap: 25px;
  flex-direction: column;
  padding: 7px 0;
}
.calculator-content .calculator-wrap .architecture-selection .architecture-option {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  margin: 0;
  width: max-content;
}
.calculator-content .calculator-wrap .architecture-selection .architecture-option input[type="radio"] {
  width: 13px;
  height: 13px;
  cursor: pointer;
  accent-color: #006EE1;
  margin: 0;
}
.calculator-content .calculator-wrap .architecture-selection .architecture-option .radio-label {
  font-weight: 600;
  cursor: pointer;
}
.calculator-content .calculator-wrap .calculate-button {
  cursor: pointer;
  margin-top: 35px;
  width: 186px;
  height: 50px;
  line-height: 50px;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
  color: #fff;
  background: #006EE1;
}
.calculator-content .calculator-wrap .calculate-button:hover {
  background-color: #006ee1;
}
.calculator-content .server-wrap {
  display: flex;
  flex-direction: column;
  padding: 2.7vw 8.3vw 2.8vw 2.1vw;
  overflow: hidden;
  background: #f7f9fa;
}
.calculator-content .server-wrap > h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 22px;
}
.calculator-content .server-wrap .server-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.calculator-content .server-wrap .server-tabs .server-tab {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 14px;
  border: 1px solid #D5DFE9;
  background-color: #ffffff;
  border-radius: 24px;
  cursor: pointer;
  font-size: 18px;
  color: #303c42;
  transition: all 0.3s ease;
  outline: none;
  white-space: nowrap;
}
.calculator-content .server-wrap .server-tabs .server-tab svg {
  width: auto;
  height: 36px;
}
.calculator-content .server-wrap .server-tabs .server-tab span {
  font-size: 18px;
  color: inherit;
}
.calculator-content .server-wrap .server-tabs .server-tab:hover {
  border-color: #ff9900;
  background-color: #fff5e6;
}
.calculator-content .server-wrap .server-tabs .server-tab.active {
  color: #ffffff;
  background-color: #FFA300;
  border-color: #FFA300;
}
.calculator-content .server-wrap .server-tabs .server-tab.active svg path {
  fill: #ffffff;
}
.server-scrollable-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  max-height: 150vh;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}
.server-scrollable-area::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Opera */
}
.server-scrollable-area .server-title {
  padding: 12px 33px;
  font-weight: 600;
  background: #006EE1;
  color: #ffffff;
}
.server-scrollable-area .server-content .server-panel {
  display: none;
}
.server-scrollable-area .server-content .server-panel.active {
  display: block;
}
.server-scrollable-area .server-content .server-panel table {
  width: 100%;
  background: #FFFFFF;
  border-collapse: collapse;
}
.server-scrollable-area .server-content .server-panel table th,
.server-scrollable-area .server-content .server-panel table tr,
.server-scrollable-area .server-content .server-panel table td {
  border: 1px solid #D5DFE9;
}
.server-scrollable-area .server-content .server-panel table tr:nth-child(even) {
  background: #EAF6FC;
}
.server-scrollable-area .server-content .server-panel table td {
  padding: 8px 33px;
}
.server-scrollable-area .server-content .server-panel table td:nth-of-type(1) {
  width: 30%;
}
.server-scrollable-area .server-content .server-panel table td:nth-of-type(2) {
  width: 35%;
}
.server-scrollable-area .server-content .server-panel table td:nth-of-type(3) {
  width: 35%;
}
.server-scrollable-area .server-content .server-panel table ul {
  margin: 0 auto;
}
.server-scrollable-area .server-content .server-panel table .note-tip {
  display: block;
  background-image: url(oxygen-webhelp/images/note.svg);
  background-repeat: no-repeat;
  background-position: 7px 5px;
  background-color: #f3f6fcb3;
  background-size: 28px 28px;
  padding: 12px 16px 12px 40px;
  font-size: 14px;
  border-radius: 4px;
  border-left: 4px solid #448aff;
  margin-top: 8px;
  line-height: 1.6;
}

.server-scrollable-area .server-content .server-panel table tr[data-architecture] {
    display: none;
}

.server-scrollable-area .server-content .server-panel table .example-tag {
  padding: 2px 5px;
  border-radius: 8px;
  font-size: 10px;
  font-family: Open Sans;
  color: #006EE1;
  background: rgba(0, 110, 225, 0.1);
  margin-left: 3px;
  margin-right: 2px;
}

.server-scrollable-area .server-content .server-panel table .note-tip strong {
  color: #303c42;
  font-weight: 600;
}
.server-scrollable-area .server-content .server-panel table .note-tip ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}
.server-scrollable-area .server-content .server-panel table .note-tip li {
  margin: 4px 0;
}
.server-scrollable-area .server-content .server-panel table .note-tip a {
  color: #0098F0;
  text-decoration: none;
}
.server-scrollable-area .server-content .server-panel table .note-tip a:hover {
  text-decoration: underline;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap i {
  display: inline-block;
  background-position: 0 50%;
  width: 15px;
  height: 16px;
  position: relative;
  top: 2px;
  margin: 0 16px 0 5px;
  cursor: pointer;
  background: url(oxygen-webhelp/images/function-tip.png) left no-repeat;
  background-size: cover;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap i:hover {
  background-position: 100% 0;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap i:hover + .tip-show {
  display: block;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap .tip-show {
  font-size: 14px;
  position: absolute;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 12px 16px;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  display: none;
  background: #3C3C3C;
  color: #FFFFFF;
  z-index: 2;
  max-width: 350px;
  min-width: 200px;
  width: max-content;
  line-height: 1.6;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap .tip-show ul {
  margin: 0;
  padding-left: 20px;
  color: #FFFFFF;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap .tip-show li {
  color: #FFFFFF;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap .tip-show b,
.server-scrollable-area .server-content .server-panel table .tip-wrap .tip-show strong {
  color: #FFFFFF;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap .tip-show .color-red {
  color: #FF6B6B;
}
.server-scrollable-area .server-content .server-panel table .tip-wrap .tip-show::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #3C3C3C;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
}
.server-scrollable-area .server-content .server-panel table .color-red {
  color: red;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
    color: #006EE1;
    font-weight: 700;
  }
  100% {
    transform: scale(1);
  }
}
.server-scrollable-area .server-content .result-animate {
  display: inline-block;
  animation: scaleUp 0.6s ease;
}
.network-config {
  margin-top: 24px;
}
.network-config h3 {
  font-size: 22px;
  margin: 0 0 16px 0;
}
.network-config p {
  margin: 0;
}
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}
.toast-container .toast-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: Open Sans;
  font-size: 16px;
  color: #303c42;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  pointer-events: auto;
}
.toast-container .toast-message.show {
  opacity: 1;
  transform: translateY(0);
}
.toast-container .toast-message .toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #52c41a;
}
.toast-container .toast-message .toast-icon svg {
  width: 12px;
  height: 12px;
}
.toast-container .toast-message .toast-text {
  font-weight: 500;
}
@media (max-width: 1200px) {
  .calculator-content {
    flex-direction: column;
  }
  .calculator-content .calculator-wrap {
    flex: 1;
    width: 100%;
    max-width: 600px;
  }
  .calculator-content .server-wrap {
    width: 100%;
    max-height: none;
  }
  .calculator-content .server-wrap .server-scrollable-area {
    max-height: 600px;
  }
}
