@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
  
  * {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.7px;
    color: #333;
    box-sizing: border-box;
  }
  html,
  body {
    padding: 0;
    margin: 0;
  }
  
  body {
    background: #eee !important;
  }
  
  h2 {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin: 15px 0 30px 0;
  }
  
  hr {
    border: 1px solid #ccc inset;
  }
  .red {
    color: red;
  }
  .clearfix:before,
  .clearfix:after {
    display: block;
    content: "";
    line-height: 0;
  }
  
  .clearfix:after {
    clear: both;
  }
  
  .clearfix {
    *zoom: 1;
  }
  
  .wrapper {
    margin: 40px auto;
  }
  
  .form {
    max-width: 500px;
    padding: 15px 35px 45px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .checkbox {
    font-weight: normal;
  }
  
  .form-control {
    margin-bottom: 10px;
  }
  .line {
    width: 100%;
    height: 1px;
    background: #efefef;
    margin: 20px 0 15px 0;
  }
  
  label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    padding-left: 7px;
  }
  input[type="text"],
  input[type="password"] {
    margin-bottom: -1px;
    border: 1px solid #ccc;
    width: 100%;
    padding: 5px 10px;
  }
  .btn-group {
    margin-top: 40px;
  }
  .btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
    background: #5e7d9f;
    color: #fff;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
  }
  
  .faq {
    max-width: 500px;
    padding: 15px 35px 45px;
    margin: 40px auto;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .accordion{
    width: 100%;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(225,225,225,1);
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion .title {
  padding: 20px 25px 20px 10px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.accordion .title i {
    position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  width: 15px;
  height: 15px;
  transition: all 0.3s ease;
}

.accordion.active .title i {
  transform: translateY(-50%) rotate(180deg);
}

.accordion .content{
    display: none;
    padding: 20px 15px;
    border-top: 1px solid #e9e9e9;
    font-size: 14px;
    line-height: 1.4;
    word-break: keep-all;
}
.accordion .content * {
    font-size: 14px;
    line-height: 1.4;
}
.accordion .content h1 {
    margin: 0 0 10px 0;
}
.accordion .content a {
    color: #0068c1;
}
.accordion .content ul {
    width: 100%;
    margin: 10px 0 20px 0;
    padding-left: 20px;
    list-style-type: disc;
}
.accordion .content ul li {
    margin-bottom: 5px;
    word-break: break-word;
}

.result-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 10px;
}

.result-card {
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    padding: 18px 16px;
    background: #fafcff;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 🟢 정상 */
.result-card.result-ok {
    background: #f7fcf8;
    border-color: #d6eadc;
}

/* ⚪ 일반 오류 */
.result-card.result-fail {
    background: #f5f6f8;
    border-color: #dcdfe4;
}

/* 🔴 위험 (타임아웃 + 차단 의심) */
.result-card.result-danger {
    background: #fff5f5;
    border-color: #ffb3b3;
    box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.15);
}

.result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.carrier {
    font-size: 18px;
    font-weight: 700;
}

.dns {
    font-size: 13px;
    color: #666;
    word-break: break-all;
}

.result-status {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #333;
}

/* 🟡 로딩 */
.result-status.loading {
    background: #fff4d6;
    color: #9a6a00;
}

/* 🟢 정상 */
.result-status.ok {
    background: #e7f8ed;
    color: #147a39;
}

/* ⚪ 일반 오류 */
.result-status.fail {
    background: #e5e7eb;
    color: #555;
}

/* 🔴 위험 */
.result-status.danger {
    background: #ff3b3b;
    color: #fff;
    font-weight: 800;
}

/* 텍스트 가독성 보정 */
.result-card.result-danger .dns,
.result-card.result-danger .raw-summary {
    color: #a33;
}

.result-detail {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    word-break: break-all;
}

.result-detail > div + div {
    margin-top: 8px;
}

.raw-summary {
    color: #666;
}

@media (max-width: 640px) {
    .carrier {
        font-size: 16px;
    }

    .dns {
        font-size: 12px;
    }
}