.p-contract_details__btn-container {
  display: flex;
  gap: 20px;
  align-items: center;
}
@media only screen and (max-width: 820px) {
  .p-contract_details__btn-container {
    flex-direction: column;
    margin-top: 40px;
  }
}
.p-contract_details__plan-change-btn {
  border: 2px solid #52B132;
  min-height: 36px;
  border-radius: 5px;
  padding: 1px 15px;
  color: #52B132;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.6s;
  background: #fff;
}
@media only screen and (max-width: 820px) {
  .p-contract_details__plan-change-btn {
    width: 100%;
    max-width: 500px;
  }
}
.p-contract_details__plan-change-btn::before {
  content: "";
  background: url(../images/icon-change.svg) no-repeat;
  background-size: 100%;
  width: 31px;
  height: 22px;
  display: inline-block;
  vertical-align: -1px;
  margin-right: 6px;
}
@media only screen and (max-width: 820px) {
  .p-contract_details__plan-change-btn::before {
    vertical-align: -6px;
  }
}
.p-contract_details__plan-change-btn:hover {
  opacity: 0.6;
}
.p-contract_details__option-edit-btn {
  border: 2px solid #565756;
  min-height: 36px;
  border-radius: 5px;
  padding: 1px 15px;
  color: #565756;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.6s;
  background: #fff;
}
@media only screen and (max-width: 820px) {
  .p-contract_details__option-edit-btn {
    width: 100%;
    max-width: 500px;
  }
}
.p-contract_details__option-edit-btn::before {
  content: "";
  background: url(../images/icon-edit.svg) no-repeat;
  background-size: 100%;
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: -1px;
  margin-right: 6px;
}
@media only screen and (max-width: 820px) {
  .p-contract_details__option-edit-btn::before {
    vertical-align: -6px;
  }
}
.p-contract_details__option-edit-btn:hover {
  opacity: 0.6;
}
.p-contract_details__table .c-table-detail tr:hover td {
  background: unset !important;
}
@media only screen and (max-width: 768px) {
  .p-contract_details__table {
    border: 1px solid #707070;
    border-radius: 9px;
    overflow: hidden;
    margin-top: 40px;
    padding-bottom: 16px;
  }
  .p-contract_details__table table {
    width: 100%;
    border-collapse: collapse;
  }
  .p-contract_details__table thead {
    display: none;
  }
  .p-contract_details__table tbody tr {
    display: block;
    position: relative;
    padding: 12px 16px;
  }
}

.p-contract_details-btn {
  border: 1px solid #707070;
  border-radius: 10px;
  padding: 20px 50px 20px 20px;
  width: 100%;
  position: relative;
  margin-top: 40px;
}
.p-contract_details-btn::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
}
.p-contract_details-btn__wrap {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.p-contract_details-btn__wrap + .p-contract_details-btn__wrap {
  margin-top: 10px;
}
.p-contract_details-btn__ttl {
  flex: 0 0 40%;
}
.p-contract_details-btn__content {
  flex: 0 0 calc(60% - 20px);
}

.p-contract_details-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.p-contract_details-popup__inner {
  position: relative;
  width: 90%;
  max-height: 85vh;
  background: #fff;
  border-radius: 12px;
  padding: 40px 20px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow-y: auto;
}
.p-contract_details-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}
.p-contract_details-popup.is-open .p-contract_details-popup__inner {
  opacity: 1;
  transform: scale(1);
}
.p-contract_details-popup__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.p-contract_details-popup__table:first-of-type {
  margin-top: 0;
}
.p-contract_details-popup__table th,
.p-contract_details-popup__table td {
  padding: 8px 0;
  font-size: 13px;
  text-align: left;
  vertical-align: top;
}
.p-contract_details-popup__table th {
  width: 38%;
  font-weight: 600;
  color: #334155;
  padding-right: 12px;
  white-space: nowrap;
}
.p-contract_details-popup__table td {
  width: 62%;
  word-break: break-all;
}
.p-contract_details-popup__table + .p-contract_details-popup__table {
  border-top: 1px solid #707070;
}
.p-contract_details-popup__close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid #999;
  background: #fff;
  color: #374151;
  cursor: pointer;
}
.p-contract_details-popup__btn-container--popup {
  margin-top: 20px;
  justify-content: center;
}
@media only screen and (max-width: 820px) {
  .p-contract_details-popup__btn-container--popup {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

html.is-modal-open,
body.is-modal-open {
  overflow: hidden;
}/*# sourceMappingURL=contract_details.css.map */