@charset "UTF-8";

/* label */
label.input-icon,
div.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}
label.input-icon.left img,
div.input-icon.left img {
    position: absolute;
    left: 12px;
    z-index: 1;
}
label.input-icon.left input,
div.input-icon.left input {
    padding: 10px 12px 10px 36px;
}

label.input-icon.right img,
div.input-icon.right img {
    position: absolute;
    right: 12px;
    z-index: 1;
}

.input-file {
    position: relative;
}
.input-file input:first-child {
    background: url('../img/icon/icon_file.svg') 50% no-repeat var(--white);
    background-size: inherit;
    background-position-x: 98.5%;
}
.input-file input.off {
    background: none;
}
.input-file a.js-fileDown,
.input-file a.js-fileDelete {
    position: absolute;
    width: fit-content;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}
.input-file a.js-fileDown {
    left: 12px;
    color: var(--black-ph);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.42px;
    line-height: normal;
    text-align: start;
}
.input-file a.js-fileDelete {
    display: none;
    padding-right: 12px;
    right: 0;
}
.input-file input[type='file'] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
}

label.input-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
label.input-btn button {
    position: absolute;
    right: 3%;
}

div.set-comma {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

label.check-box {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.hv-check-box {
  display: grid;
  gap: 0 24px;
}
.hv-check-box.one {
  grid-template-columns: 1fr auto;
}
.hv-check-box.two {
  grid-template-columns: 1fr auto auto;
}

/* input zone (title in label) */
.input-zone.gird {
    display: grid;
    gap: 10px;
}
.input-zone.one-hlf {
    grid-template-columns: 1fr 0.5fr 0.5fr;
}

/* input, select */
input[name='style'],
input[type='text'],
input[type='number'],
input[type='tel'],
input[type='password'],
input[type='email'],
input[type='search'],
input[type='button'],
textarea,
select {
    border-radius: 8px;
    border: 1px solid var(--po-black-op-15);
    background: var(--white);
    padding: 10px 12px;
    box-sizing: border-box;
    width: 100%;
    text-align: start;
}

input[type='checkbox'] {
    border-radius: 5px;
    border: 1px solid rgba(58, 58, 69, 0.35);
    width: 18px;
    height: 18px;
    appearance: none;
    cursor: pointer;
}
input[type='checkbox']:checked {
    background: url('../img/icon/icon_input_checked.svg') 50% no-repeat var(--blue);
    border: 1px solid var(--blue);
    width: 18px;
    height: 18px;
}

select {
    background: url('../img/icon/icon_arr_bottom.svg') 50% no-repeat var(--white);
    background-size: inherit;
    background-position-x: 89%;
}
.detail-box select.hlf-hlf {
    background-position-x: 94%;
}
.detail-box select.long {
    background-position-x: 98.5%;
}

textarea {
  height: 150px;
}

.switch-area {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}
.switch-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.switch-box input[type="checkbox"] {
  position: absolute;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  z-index: 1;
  width: 32px;
}
.switch-box input[type="checkbox"]:checked {
  border: none;
  background: none;
}
.switch-zone {
  position: relative;
  cursor: pointer;
  display: inline-block;
  width: 32px;
  height: 16px;
  background: var(--po-black-op-3);
  border-radius: 20px;
  transition: 0.2s;
}
.switch-crcl {
  position: absolute;
  top: 1px;
  left: 1px;
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 20px;
  background: var(--white);
  transition: 0.2s;
}
/* checking style */
.switch-box input[type="checkbox"]:checked + .switch-zone {
  background: var(--blue);
}
/* move */
.switch-box input[type="checkbox"]:checked + .switch-zone .switch-crcl {
  left: 17px;
  background: #fff;
  box-shadow: 1px 2px 3px #00000020;
}

/* box */
.detail-wrap {
    margin-top: 32px;
}
.detail-wrap,
.detail-wrap > form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.detail-wrap hr {
    width: 100%;
    height: 1px;
    background: #eee;
    border: none;
    margin: 24px 0;
}
.detail-box {
    padding: 28px;
    box-sizing: border-box;
    border-radius: 20px;
    background: var(--white);
}
.detail-box .title-area,
.detail-box .title-area .title-zone,
.detail-box .title-area .btn-zone {
    display: flex;
    align-items: center;
}
.detail-box .title-area {
    justify-content: space-between;
}
.detail-box .title-area .title-zone {
    gap: 4px;
}
.detail-box .title-area .btn-zone {
    gap: 8px;
}
.detail-wrap .btn-area {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.detail-box .input-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
    margin-top: 24px;
}
.detail-box .input-area .col1 {
    grid-column: -1 / 1;
}
.detail-box .input-area label > p {
    margin-bottom: 10px;
}
.detail-box.notice .switch-area {
  margin-top: 0;
}

/* form */
#js-loginForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#js-loginForm .check-box {
    margin-top: 20px;
}

#js-changePwForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#js-searchForm {
    padding: 14px 20px;
    box-sizing: border-box;
    border-radius: 20px;
    background: #f8f9fb;
    display: flex;
    align-items: center;
    gap: 8px;
}
#js-searchForm select {
    width: 120px;
}
#js-searchForm .search-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
#js-searchForm .search-box input {
    width: 250px;
}
#js-searchForm .search-box button {
    position: absolute;
    right: 5%;
}

@media all and (max-width: 1090px) {
    .detail-box .input-area {
        grid-template-columns: 1fr;
    }
}
@media all and (max-width: 700px) {
    .detail-box {
        padding: 16px;
        border-radius: 0;
    }
    .detail-box .title-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .detail-wrap .btn-area {
        flex-direction: column;
        padding: 0 16px;
    }
    .detail-wrap .btn-area button {
        width: 100%;
    }
}
@media all and (max-width: 560px) {
    .input-zone.one-hlf {
        grid-template-columns: 1fr 1fr;
    }
    .input-zone.one-hlf *:first-child {
        grid-column: -1/1;
    }
}
@media all and (max-width: 500px) {
    #js-searchForm .search-box input {
        width: 200px;
    }
}
