html,
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  --primary-color: #358AE3;
  font-family: 'Pretendard', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

.p20 {
  padding: 20px;
}

.column {
  display: flex;
  flex-direction: column;
}

.divider {
  border-top: 1px solid #dddddd;
  margin: 20px 0;
}

.w100 {
  width: 100%;
}

.f1 {
  flex: 1;
  width: 100%;
}

.h100 {
  height: 100%;
}

.g16 {
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2,1fr);
}

.header {
  width: 100%;
  height: 72px;
  padding: 0px 30px 0px 30px;
  gap: 0px;
  opacity: 0px;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: 16px;
  z-index: 50;
  /* 헤더 고정 풀려면 아래 postion 주석 */
  position: sticky;
  top: 0;

  > * {
    flex: 1;
  }

  > .actions {
    display: flex;
    font-size: 14px;
    align-items: center;
    justify-content: flex-end;

  .action:not(:last-child)::after {
    content: "|";
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.3);
    padding: 0 0 3px 5px;
  }

    > .action {
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;

      > .logout-img {
        width: 20px;
        height: 20px;
        background: url('data:image/svg+xml,<svg width="14" height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_360_1059)"><path d="M2.28773 16C2.16785 15.9712 2.04703 15.9449 1.92777 15.9127C0.836001 15.6188 0.0747671 14.6437 0.0735151 13.5119C0.069446 9.83595 0.068194 6.15968 0.0741411 2.48372C0.0760192 1.11775 1.18688 0.0072025 2.5494 0.00375942C4.90165 -0.00250073 7.25422 0.00125536 9.60647 0.00250739C10.0534 0.00250739 10.3808 0.319584 10.3834 0.745587C10.3859 1.1791 10.0575 1.50087 9.60303 1.50087C7.29741 1.50213 4.99211 1.5015 2.6865 1.5015C1.9766 1.5015 1.57126 1.90497 1.57126 2.61205C1.57126 6.20475 1.57126 9.79745 1.57126 13.3901C1.57126 14.096 1.97785 14.5001 2.68744 14.5001C4.99305 14.5001 7.29835 14.4998 9.60396 14.5007C10.0012 14.5007 10.3176 14.7564 10.3752 15.1167C10.4378 15.508 10.2294 15.8391 9.83747 15.9718C9.81869 15.9781 9.80178 15.9906 9.78394 16H2.28773Z" fill="white"/><path d="M13.9985 8.12558C13.9387 8.35032 13.7947 8.51559 13.6335 8.67585C12.5082 9.79642 11.3858 10.9195 10.2655 12.0447C10.0643 12.247 9.83326 12.3549 9.54937 12.302C9.26703 12.2491 9.06765 12.0807 8.97562 11.8069C8.88391 11.5345 8.93743 11.2823 9.12806 11.0644C9.19316 10.9902 9.26578 10.9226 9.33589 10.8525C9.98726 10.2005 10.6386 9.54914 11.29 8.89715C11.3288 8.85833 11.3651 8.81702 11.4274 8.75035C11.3401 8.75035 11.2853 8.75035 11.2305 8.75035C9.34622 8.75035 7.46223 8.75097 5.57793 8.75003C5.15505 8.75003 4.83328 8.47365 4.78946 8.07989C4.74126 7.64543 5.08212 7.25793 5.52816 7.25198C5.97044 7.24603 6.41303 7.25042 6.85531 7.25042C8.31267 7.25042 9.77003 7.25042 11.2274 7.25042H11.4255C11.3661 7.18562 11.3307 7.14431 11.2925 7.10612C10.586 6.39872 9.87802 5.69352 9.17344 4.98424C8.84698 4.65558 8.85198 4.1676 9.1772 3.87432C9.46423 3.61546 9.89962 3.61483 10.1854 3.88214C10.3904 4.07433 10.5851 4.27747 10.7839 4.47623C11.7335 5.42621 12.6816 6.37775 13.6338 7.32491C13.795 7.48517 13.9393 7.65013 13.9988 7.87518V8.12527L13.9985 8.12558Z" fill="white"/></g><defs><clipPath id="clip0_360_1059"><rect width="13.9298" height="16" fill="white" transform="translate(0.0700684)"/></clipPath></defs></svg>')
        no-repeat center center;
      }

      > .dolgo-img {
        width: 20px;
        height: 20px;
        background: url('data:image/svg+xml,<svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_360_1051)"><path d="M7.84928 10.9282C9.23537 11.7574 10.558 12.1912 12.0237 12.018C12.2134 11.9955 12.3761 11.7437 12.5512 11.5981C12.3957 11.457 12.263 11.2564 12.0801 11.1856C11.5633 10.9851 11.3249 10.7079 11.374 10.2543C11.4201 9.82615 11.7113 9.60047 12.2393 9.54844C12.3688 9.53574 12.5192 9.47566 12.6113 9.38675C12.9403 9.06923 13.3018 8.99523 13.6889 9.23044C14.1164 9.49007 14.1347 9.89747 13.9847 10.32C13.3663 12.0632 12.2479 13.3784 10.5755 14.1837C8.96426 14.9597 7.28825 15.0808 5.57023 14.5738C5.48059 14.5474 5.38997 14.5244 5.27078 14.492C5.36482 14.8302 5.48425 15.1209 5.51503 15.4206C5.53383 15.6033 5.46642 15.9086 5.34748 15.9638C5.18701 16.038 4.89342 15.9904 4.73735 15.8805C3.70664 15.1548 3.03936 14.152 2.59923 12.9801C2.49128 12.6926 2.33691 12.4132 2.15788 12.1631C1.50184 11.2474 1.06855 10.247 0.943983 9.12223C0.924199 8.94345 0.893424 8.74512 0.949112 8.58392C1.03362 8.33919 1.145 7.9865 1.3272 7.92543C1.50892 7.86462 1.78883 8.11448 2.03185 8.21267C2.20453 8.28252 2.40457 8.40464 2.56284 8.36972C3.80776 8.09518 4.88732 8.39951 5.79933 9.26854C6.02477 9.48347 6.20746 9.50887 6.48786 9.42119C7.29484 9.1684 8.08571 9.25755 8.83749 9.63661C8.96938 9.70305 9.06366 9.84349 9.17553 9.94974C9.06244 10.0313 8.94838 10.1114 8.83627 10.1945C8.53267 10.4192 8.23005 10.6449 7.84903 10.9282H7.84928Z" fill="white"/><path d="M7.6019 5.68431C6.66571 5.00702 5.69752 4.62893 4.64287 4.48702C4.22375 4.4306 3.78655 4.41693 3.37011 4.47457C3.1796 4.50095 3.01962 4.7469 2.84572 4.89345C2.99984 5.03413 3.13148 5.23734 3.31271 5.3028C3.75138 5.46107 4.03177 5.71118 4.01077 6.19649C3.9922 6.62588 3.64782 6.89088 3.12294 6.94755C2.99251 6.96172 2.84279 7.024 2.74949 7.11388C2.4305 7.42114 2.07928 7.46584 1.71315 7.25212C1.32554 7.02595 1.22808 6.62002 1.39246 6.25829C1.73098 5.51383 2.05949 4.7364 2.55262 4.09623C3.82465 2.44563 5.56172 1.63717 7.64757 1.59834C8.34489 1.58539 8.63237 1.32796 8.69416 0.620382C8.70955 0.443793 8.71346 0.265983 8.72738 -0.000244141C8.92449 0.0788912 9.07763 0.113086 9.19951 0.194175C9.8111 0.601575 10.1894 1.18361 10.4684 1.85602C10.5653 2.08976 10.772 2.29126 10.9639 2.46932C11.6368 3.09336 12.3893 3.64462 12.9912 4.32949C13.6985 5.13427 13.7991 6.13836 13.5463 7.17518C13.466 7.50467 13.4008 7.83929 13.3497 8.17463C13.2913 8.55883 12.9667 8.77474 12.5777 8.56445C11.8874 8.19173 11.2089 7.78165 10.5844 7.30903C10.2888 7.08555 10.0448 7.05599 9.70241 7.06063C8.85365 7.07187 8.00173 7.03035 7.15615 6.95488C6.96393 6.93778 6.64006 6.69011 6.64544 6.55969C6.65399 6.35623 6.86965 6.13959 7.04038 5.97252C7.16226 5.85333 7.35472 5.80595 7.60214 5.68383L7.6019 5.68431Z" fill="white"/></g><defs><clipPath id="clip0_360_1051"><rect width="13.1526" height="16" fill="white" transform="translate(0.91748)"/></clipPath></defs></svg>')
        no-repeat center center;
      }
    }
  }

  > nav {
    justify-content: center;
    flex: 1;
    display: flex;
    gap: 40px;
    height: 100%;
    > div {
      display: flex;
      align-items: center;
      position: relative;

      > a {
        color: white;
        text-decoration: none;
        position: relative;
      }

      &[data-active="true"] {
        &:after {
           content: "";
           display: block;
           position: absolute;
           bottom: 0;
           left: 0;
           width: 100%;
           height: 4px;
           background-color: white;
         }
      }
    }
  }
}

input[type="radio"] {
  display: none;
}

input[type="radio"] + label {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  user-select: none;
}

input[type="radio"] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 1px solid #cccccc;
  border-radius: 50%;
  background-color: white;
}

input[type="radio"]:checked + label::before {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
}

/* =================== */

.content {
  flex: 1;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer {
  color: #717171;
  background-color: #f7f7f7;
  border-top: 1px solid #dddddd;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
}

.content {
  padding: 40px 70px;
}

h1 {
  font-size: 30px;
}

.section {
  > .title {
    height: 40px;
    font-weight: 600;
    font-size: 20px;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 24px;
  }

  > .content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
  }
}

#yearSelectionContainer {
  > .title {
    height: 40px;
    font-weight: 600;
    font-size: 20px;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 24px;
  }
}

.row {
  display: flex;
}

button {
  cursor: pointer;
  border: none;
  background-color: var(--primary-color);
  color: white;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  padding: 9.5px 12px;
  border-radius: 2px;
}

.card {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #dddddd;

.card-header {
  font-size: 12px;
  color: #717171;
  margin-bottom: 6px;
}

.card-title {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #161616;
  flex: 1;
}

.donation {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 400;
  color: #717171;
  margin-bottom: 4px;

    > .currency {
      font-size: 14px;
      font-weight: 600;
      color: var(--primary-color);
    }
  }
}

.flow {
  border: 1px solid #dddddd;
  border-radius: 8px;
  background-color: #f6fbfe;
  display: flex;
  justify-content: space-between;

  > * {
    padding: 20px;
    width: 100%;
    &:not(:last-child) {
       border-right: 1px solid #dddddd;
     }

    > .title {
      font-size: 14px;
      font-weight: 400;
      line-height: 16.71px;
      text-align: left;
      color: #717171;
    }

    > .content {
      color: #161616;
      font-weight: 600;
      font-size: 24px;
      padding: 0;
      min-height: 96px;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }
    > * {
      > .content {
        color: #161616;
        font-weight: 600;
        font-size: 24px;
        padding: 0;
        min-height: 96px;
        display: flex;
        justify-content: center;
        margin-right: 10px;
        flex: 1;
        align-items: flex-end;
        width: 100%;
      }

      > .settlement-button {
          color: var(--primary-color);
          background: #fff;
          border: 1px solid var(--primary-color);
          border-radius: 2px;
          padding: 5px 10px;
          font-weight: 600;
          width: 110px;
          height: 26px;
          flex: 0.6;
          vertical-align: middle;
          text-align: center;


      }
    }
  }
}
.a-center {
  display: flex;
  align-items: center;
}

.end {
  display: flex;
  justify-content: flex-end;
}

.g20 {
  gap: 20px;
}

select {
  border: 1px solid #dddddd;
  padding: 9.5px 12px;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%201L5%205L9%201%22%20stroke%3D%22%23999999%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E")
  no-repeat right 10px center;
}

.w140 {
  width: 140px;
}

.settlement-button {
  color: var(--primary-color);
  background: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 2px;
  padding: 5px 10px;
  font-weight: 600;
  width: 110px;
  height: 26px;
  flex: 0.6;
  vertical-align: middle;
  text-align: center;


}

table.list {
  border-collapse: collapse;
  width: 100%;
  border-top: 1px solid #dddddd;

th {
  background-color: #f9f9f9;
  color: #717171;
  font-weight: 400;
  font-size: 14px;
}

tr {
  min-height: 56px;
  border-top: 1px solid #dddddd;

  &:last-child {
     border-bottom: 1px solid #dddddd;
   }
}

th,
  td {
    text-align: center;
    height: 56px;

  &:not(:last-child) {
     border-right: 1px solid #dddddd;
   }
}

  td {
    font-size: 15px;
    color: #161616;
    font-weight: 400;
  }
}

.pagination {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
  height: 40px;

> * {
  cursor: pointer;
  width: 20px;
  height: 20px;
  color: #888888;
  font-size: 14px;
  text-align: center;

&[data-selected="true"] {
   color: var(--primary-color);
   font-weight: bold;
   border-bottom: var(--primary-color) 2px solid;
 }
}

> .more {
  display: flex;
  justify-content: center;
&:after {
   content: "...";
   display: block;
   width: 5px;
   height: 10px;
 }
}

> .left, .double-left,
  .right, .double-right {
      display: flex;
      justify-content: center;
      align-items: center;

    &.right {
      transform: rotate(180deg);
     }
  }
}

.left , .right {
    &:after {
       content: "";
       display: block;
       background-color: var(--red-color);
       width: 5px;
       height: 10px;
       background: url('data:image/svg+xml,<svg width="7" height="12" viewBox="0 0 7 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.5 1L1.5 6L6.5 11" stroke="%23717171"/></svg>') no-repeat center center;
   }
}

.double-left,
.double-right {
  &.double-right {
     transform: rotate(180deg);
   }
  &:after {
   content: "";
   display: block;
   width: 20px;
   height: 20px;
   background: url('data:image/svg+xml,<svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.5 1L1.5 6L6.5 11" stroke="%23717171"/><path d="M12.5 1L7.5 6L12.5 11" stroke="%23717171"/></svg>')
   no-repeat center center;

 }
}

/* home */
.partner {
  box-shadow: 0px 6px 16px 0px #3480b41a;
  position: relative;
  display: flex;
  padding: 60px 50px;
  gap: 40px;

> .partner-img {
  min-width: 160px;
  width: 160px;
  height: 160px;
  border: 1px solid #dddddd;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

> .partner-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

> .partner-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 9.5px;

> .partner-header {
  font-size: 18px;
  font-weight: 400;

> .highlight {
  font-weight: 700;
  box-shadow: inset 0 -10px 0 var(--orange3-color);
}
}

> .partner-desc {
  font-size: 14px;
  color: #717171;
  font-weight: 400;
  white-space: pre-line;
  line-height: 1.5;
}

.partner-name {
  font-weight: 700;
  font-size: 30px;
}
}

&::after {
   content: "";
   position: absolute;
   display: block;
   top: 0px;
   right: 0px;
   bottom: 0px;
   width: 520px;
   z-index:-1;
   background: url('data:image/svg+xml,<svg width="520" height="279" viewBox="0 0 520 279" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0_242_4335" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="67" width="520" height="154"><rect y="67.291" width="520" height="153.182" fill="%23D9D9D9"/></mask><g mask="url(%23mask0_242_4335)"></g><g clip-path="url(%23clip0_242_4335)"><path d="M260.741 226.768C305.081 253.203 347.391 267.024 394.271 261.503C400.341 260.786 405.541 252.765 411.151 248.121C406.171 243.617 401.931 237.23 396.081 234.968C379.551 228.581 371.921 219.743 373.491 205.285C374.971 191.644 384.281 184.44 401.171 182.785C405.311 182.377 410.121 180.464 413.071 177.634C423.591 167.51 435.161 165.159 447.541 172.652C461.221 180.932 461.801 193.906 457.001 207.387C437.211 262.948 401.441 304.878 347.951 330.536C296.411 355.267 242.801 359.133 187.841 342.971C184.971 342.124 182.081 341.397 178.261 340.371C181.271 351.152 185.091 360.419 186.071 369.975C186.671 375.794 184.511 385.529 180.711 387.292C175.581 389.654 166.181 388.139 161.191 384.642C128.221 361.515 106.871 329.549 92.7908 292.193C89.3308 283.026 84.4008 274.128 78.6708 266.157C57.6908 236.951 43.8408 205.066 39.8508 169.224C39.2208 163.525 38.2308 157.207 40.0108 152.066C42.7108 144.264 46.2808 133.024 52.1108 131.081C57.9308 129.138 66.8708 137.109 74.6508 140.238C80.1708 142.46 86.5708 146.356 91.6408 145.24C131.471 136.491 165.991 146.187 195.171 173.887C202.381 180.743 208.231 181.55 217.201 178.75C243.021 170.689 268.311 173.539 292.361 185.615C296.581 187.738 299.601 192.212 303.171 195.6C299.551 198.2 295.901 200.751 292.321 203.392C282.611 210.556 272.931 217.75 260.741 226.778V226.768Z" fill="%23F2FAFF"/><path d="M252.831 59.6166C222.881 38.024 191.911 25.9772 158.171 21.4534C144.761 19.6598 130.781 19.2214 117.451 21.0548C111.361 21.8918 106.241 29.7337 100.681 34.4069C105.611 38.8909 109.821 45.3677 115.621 47.4502C129.651 52.4921 138.621 60.4636 137.951 75.9381C137.361 89.6191 126.341 98.0688 109.551 99.8823C105.381 100.331 100.591 102.324 97.611 105.183C87.411 114.978 76.171 116.403 64.461 109.587C52.061 102.383 48.941 89.4397 54.201 77.911C65.031 54.1861 75.531 29.3949 91.311 8.99802C132.001 -43.6134 187.571 -69.381 254.291 -70.6166C276.601 -71.0252 285.791 -79.2357 287.771 -101.785C288.261 -107.415 288.391 -113.074 288.831 -121.574C295.131 -119.043 300.031 -117.967 303.931 -115.376C323.491 -102.393 335.601 -83.8392 344.521 -62.4061C347.621 -54.9627 354.231 -48.5358 360.371 -42.8561C381.901 -22.9574 405.961 -5.3904 425.221 16.4314C447.851 42.0894 451.071 74.0847 442.981 107.136C440.411 117.639 438.331 128.3 436.691 138.992C434.821 151.238 424.441 158.114 411.991 151.418C389.911 139.54 368.201 126.467 348.231 111.401C338.781 104.277 330.971 103.34 320.021 103.479C292.871 103.838 265.621 102.513 238.571 100.111C232.421 99.5634 222.061 91.6717 222.231 87.5166C222.501 81.0398 229.401 74.1246 234.871 68.8037C238.771 64.9973 244.921 63.4927 252.841 59.5966L252.831 59.6166Z" fill="%23F2FAFF"/></g><defs><clipPath id="clip0_242_4335"><rect width="421" height="279" fill="white" transform="translate(39)"/></clipPath></defs></svg>')
   center center no-repeat;
 }
}

.image-container {
  flex: 0 0 30%; /* 이미지가 부모 너비의 30%를 차지 */
  overflow: hidden; /* 이미지를 부모 영역에 맞게 잘라냄 */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 비율 유지하면서 부모 영역을 채움 */
}

/* 상태 공통 스타일 */
.status {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 3px;
  font-weight: bold;
  text-align: center;
  display: inline-block;
}

/* 상태별 색상 */
.status.active {
  /* 재직중: 초록색 */
  color: #22bf51;
  border: 1px solid #22bf51;
}

.status.retired {
  /* 퇴사: 회색 */
  color: #999999;
  border: 1px solid #999999;
}

.status.certified {
  /* 인증중: 파란색 */
  color: #3f80e9;
  border: 1px solid #3f80e9;
}

.tab-menu {
  display: flex;
  border-bottom: 2px solid #ddd; /* 회색 기본 밑줄 */
  margin-bottom: 20px; /* 기본 여백 유지 */
}

.tab-button, .settlement-tab-button {
  padding: 10px 20px;
  border: none;
  background: none;
  font-size: 16px;
  cursor: pointer;
  color: #555;
  border-bottom: 2px solid transparent; /* 기본적으로 투명 밑줄 */
  position: relative; /* 밑줄 겹치게 하려면 필요 */
  z-index: 1; /* 텍스트와 밑줄 겹쳐도 텍스트가 위에 보이도록 */
}

.tab-button.active, .settlement-tab-button.active {
  color: #000; /* 활성화된 버튼 텍스트 색상 */
  font-weight: bold; /* 활성화된 버튼 텍스트 강조 */
  border-bottom: 3px solid #358AE3; /* 활성화된 탭의 밑줄 */
  margin-bottom: -1px; /* 밑줄이 기본 회색 라인과 겹치도록 조정 */
}



/* 모달 오버레이 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* 모달 */
.modal {
  background: #fff;
  padding: 20px;
  width: 400px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-overlay input {
  height: 37px;
  border: 1px solid #dddddd;
  border-radius: 4px !important;
  padding: 9.5px 10px;"
}

.modal .title {
  font-size: 18px;
  font-weight: 600;
}

.modal .sub-title {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 35px;
}

/* 경고 메시지 */
.warning-message {
  color: var(--red-color);
  font-size: 12px;
  margin: 25px 0px 25px 0px;
}

.modal-actions {
  display: flex;
  gap: 13px;
}

.cancel, .submit {
  flex: 1;
  height: 40px;
}

.cancel {
  background: #def2ff;
  color: var(--primary-color);
}

/* 숨김 클래스 */
.hidden {
  display: none;
}


.active-button {
  cursor: default;
  border: none;
  background-color: var(--primary-color);
  color: white;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  padding: 9.5px 12px;
  width: 147px;
}

.inactive-button {
  cursor: default;
  border: 1px solid var(--primary-color);
  background-color: #ffffff;
  color: var(--primary-color);
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  padding: 9.5px 12px;
  width: 147px;
}


/** 기부예치금 모달 **/
.pointModal {
  /*position: absolute;*/
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}


.pointModal > .modal-contents {
  background-color: white;
  padding: 30px;
  border-radius: 16px;
}

.pointModal > .modal-contents > .modal-header {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.pointModal > .modal-contents > .modal-body {
  margin: 30px 0px;
}

/* 기부 예치금 추가 스타일 */

td {
  white-space: nowrap;
}

.dolgo-donation {
  display: flex;
  flex-direction: column;

> .title {
  font-weight: 400;
  font-size: 14px;
}

> .description {
  font-weight: 400;
  font-size: 14px;
  color: #717171;
}

> .buttons {
  margin-top: 12px;
> button {
  min-width: 100px;
}
}
}

.row-wrap {
  /* white-space: nowrap; */
  justify-content: space-between;
}

.donator-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  white-space: nowrap;
}

.total-amount {
  display: flex;
  margin-top: 12px;

> .title {
  font-weight: 400;
  font-size: 14px;
  color: #161616;
  flex: 1;
}

> .amount {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: end;

> .total {
  font-size: 20px;
  font-weight: bold;
}

> .description {
  font-size: 12px;
  color: #717171;
}
}
}

.remain-amount {
  font-size: 14px;
  color: var(--primary-color);
}

/* 기부 예치금 추가 스타일 끝*/

/* 새로 추가된 스타일 */

.g20 {
  gap: 20px !important;
}

button.ghost {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 400;
}

input[type="radio"] + label {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  user-select: none;
  white-space: nowrap;
}


#pointModalOverlay .modal-contents table td.label {
  font-weight: 400;
  color: #717171;
  max-width: 200px;
  background-color: #f9f9f9;
  font-size: 14px;
}

#pointModalOverlay .modal-contents table td .row {
  display: flex
;
  gap: 10px;
  align-items: center;
}
#pointModalOverlay .modal-contents table td .row-wrap{
  justify-content: space-between;
}

#pointModalOverlay .modal-contents table td {
  padding: 10px;
}
#pointModalOverlay .modal-contents table tr {
  border-bottom: 1px solid #dddddd;
}
#pointModalOverlay .modal-contents table {
  border-collapse: collapse;
  border: 1px solid #dddddd;
  border-left: none;
  border-right: none;
  box-sizing: border-box;
}

#pointModalOverlay .modal-contents table input[type="radio"] + label {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  user-select: none;
}

#pointModalOverlay .modal-contents table input[type="radio"] + label {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  user-select: none;
}



/* 토스트 기본 스타일 */
.settlement-toast {
  position: fixed;
  right: 20px;
  bottom: -100px; /* 화면 밖 */
  min-width: 300px;
  padding: 25px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0; /* 보이지 않음 */
  transition: bottom 0.5s ease-out, opacity 0.5s ease-out;
}

.settlement-toast.show {
  bottom: 20px; /* 화면 안으로 이동 */
  opacity: 1; /* 보이도록 설정 */
}

.settlement-hidden {
  bottom: -100px; /* 화면 밖으로 이동 */
  opacity: 0; /* 투명도 설정 */
}

.settlement-toast-header {
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  font-size: 18px;
}

.settlement-toast-body {
  font-size: 14px;
  color: #333;
  text-align: center;
  padding: 10px;
}

.settlement-toast-button {
  min-width: 265px;
  display: inline-block;
  margin-top: 10px;
  padding: 7px 10px;
  background-color: #ffffff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}

