/* Header */
.header__img { 
    border-radius: 0.5rem 0.5rem 0 0; 
}
.header__title { 
    font-weight: 800; 
    font-size: 1.5rem; 
    line-height: 140%; 
    letter-spacing: -10; 
}
.header__description { 
    font-weight: 500; 
    font-size: 1rem; 
    line-height: 150%; 
}
.header__img--only { 
    border-radius: 0.5rem; 
}

/* Group Label */
.group-label { 
    padding-bottom: 0.625rem; 
    border-bottom: 1px solid #303030; 
    font-weight: 800; 
    font-size: 1.125rem; 
    line-height: 140%; 
}

/* Label */
.label--require,
.label--option {
    display: flex;
    align-items: flex-start;
    word-break: break-all;
    line-height: 150%;
    gap: 0.25rem;
}
.label--require::before {
    content: '(필수)';
    color: #FF0000;
    font-size: 0.875rem;
    font-weight: 500;
    word-break: keep-all;
}
.label--option::before {
    content: '(선택)';
    color: #848484;
    font-size: 0.875rem;
    font-weight: 500;
    word-break: keep-all;
}

/* Text field */
.text-field {
    display: block;
    width: 100%;
    height: 3.25rem;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    font-family: 'SUIT Variable', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

/* Text area */
.text-area {
    display: block;
    width: 100%;
    height: 9.75rem;
    resize: none;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    font-family: 'SUIT Variable', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
    line-height: 150%;
    transition: all 0.2s ease-in-out;
}

/* Drop down */
.drop-down {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 3.25rem;
    padding: 1rem 4.25rem 1rem 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    background-image: url(https://www.webusiness.co.kr/assets/img/arrow_down.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    background-size: 2rem;
    border-radius: 0.5rem;
    font-family: 'SUIT Variable', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
    color: #808080;
    cursor: pointer;
    transition: border 0.2s ease-in-out;
    text-overflow: ellipsis;
}
.drop-down--disabled {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 3.25rem;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #D4D4D4;
    background-image: url(https://www.webusiness.co.kr/assets/img/arrow_down.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    background-size: 2rem;
    border-radius: 0.5rem;
    font-family: 'SUIT Variable', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
}
.drop-list {
    display: none;
}
.drop-list--show {
    display: flex;
    position: absolute;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-height: 15.25rem;
    overflow-y: scroll;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 8px #0000001A;
    z-index: 111;
}
.drop-list--show::-webkit-scrollbar {
    width: 0.625rem;
}
.drop-list--show::-webkit-scrollbar-thumb {
background-color: #848484;
border-radius: 0.625rem;
background-clip: padding-box;
border: 2px solid transparent;
}
.drop-list--show::-webkit-scrollbar-track {
background-color: transparent;
border-radius: 0.625rem;
}
.drop-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    line-height: 150%;
    background-color: transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Radio button */
.radio--left,
.radio--right {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    padding: 0.813rem 1rem;
    border-radius: 0.5em;
    margin: 0;
    transition: all 0.2s ease-in-out;
    vertical-align: baseline;
    line-height: 150%;
}
.radio--left::before,
.radio--left::before,
.radio--right::after,
.radio--right::after {
    display: block;
    height: 1.125rem;
    width: 1.14rem;
    content: "";
    background-color: #fff;
    border: 1px solid #303030; 
    border-radius: 50%;
}
.radio--left > span,
.radio--right > span,
.radio--left > span,
.radio--right > span {
    display: block;
    width: calc(100% - 2.125rem);
    line-height: 150%;
    word-break: break-all;
}
input[type="radio"]:checked + .radio--left::before,
input[type="radio"]:checked + .radio--left::before,
input[type="radio"]:checked + .radio--right::after,
input[type="radio"]:checked + .radio--right::after {
    height: 1.125rem;
    width: 1.14rem;
    box-shadow: 0 0 0 0.25rem #fff inset;
    background-color: #303030;
}
.radio-label--whole {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}
.radio-label--left {
    position: absolute;
    width: 3.375rem;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}
.radio-label--right {
    position: absolute;
    width: 3.375rem;
    height: 100%;
    right: 0;
    top: 0;
    cursor: pointer;
}

/* Checkbox */
.checkbox--left,
.checkbox--right {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    padding: 0.813rem 1rem;
    border-radius: 0.5em;
    margin: 0;
    transition: all 0.2s ease-in-out;
    vertical-align: baseline;
    line-height: 150%;
}
.checkbox--left::before,
.checkbox--left::before,
.checkbox--right::after,
.checkbox--right::after {
    display: block;
    height: 1.125rem;
    width: 1.125rem;
    cursor: pointer;
    content: "";
    background-color: #fff;
    border: 1px solid #303030; 
}
.checkbox--left > span,
.checkbox--right > span,
.checkbox--left > span,
.checkbox--right > span {
    display: block;
    width: calc(100% - 2.125rem);
    line-height: 150%;
    word-break: break-all;
}
input[type="checkbox"]:checked + .checkbox--left::before,
input[type="checkbox"]:checked + .checkbox--left::before,
input[type="checkbox"]:checked + .checkbox--right::after,
input[type="checkbox"]:checked + .checkbox--right::after {
    height: 1.125rem;
    width: 1.125rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23fff' transform='translate%28-2657.303 -3568.456%29' d='M2661.076,3574.456a1,1,0,0,1-.714-.3l-2.772-2.824a1,1,0,1,1,1.427-1.4l2.153,2.193,4.526-3.463a1,1,0,0,1,1.215,1.588l-5.228,4A1,1,0,0,1,2661.076,3574.456Z'%3E%3C/path%3E%3C/svg%3E");
    background-color: #303030;
}
.checkbox-label--whole {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}
.checkbox-label--left {
    position: absolute;
    width: 3.375rem;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}
.checkbox-label--right {
    position: absolute;
    width: 3.375rem;
    height: 100%;
    right: 0;
    top: 0;
    cursor: pointer;
}

/* Button */
.button--big {
    width: 100%;
    height: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'SUIT Variable', sans-serif;
    font-weight: 700;   
    font-size: 1.5rem;
    color: #fff;
    background-color: #303030;
    border-radius: 0.5em;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    grid-column: 1 / 3;
}
.button--small {
    width: 7.5rem;
    height: 3.25rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 700;   
    font-size: 1rem;
    color: #fff;
    background-color: #303030;
    border-radius: 0.5em;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.button-text--big {
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
    text-decoration: underline;
    cursor: pointer;
}
.button-text--small {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 150%;
    text-decoration: underline;
    cursor: pointer;
}

/* Error message */
.error-message {
    width: 100%;
    background-color: #FFF2F2;
    font-weight: 500;
    font-size: 0.875rem;
    color: #ff0000;
    padding: 0.5rem 1rem;
    border-radius: 0.5em;
}

/* Media */
.media-youtube {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    grid-column: 1 / 3;
}
.media-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Modal */
.modal__wrapper {
    position: fixed;
    justify-content: center;
    align-items: center;
    background-color: #303030CC;
    backdrop-filter: blur(3px);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.modal__container {
    width: 656px;
    background-color: #fff;
    border-radius: 0.5rem;
    display: grid;
    grid-template-columns: 1fr;
    padding: 2.5rem; 
    z-index: 2;
}
.modal__title {
    font-weight: 800;
    font-size: 1.125rem;
    line-height: 140%;
    letter-spacing: -10;
}
.modal__description {
    width: 100%;
    height: 10rem;
    overflow: scroll;
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
}
.modal__description::-webkit-scrollbar {
    width: 0.625rem;
}
.modal__description::-webkit-scrollbar-thumb {
background-color: #30303080;
border-radius: 0.625rem;
background-clip: padding-box;
border: 2px solid transparent;
}
.modal__description::-webkit-scrollbar-track {
background-color: transparent;
border-radius: 0.625rem;
}

/* Emphasis */
.emphasis {
    padding: 46px 0 38px 0;
    background-image: url(https://www.webusiness.co.kr/assets/img/v_dash.svg), url(https://www.webusiness.co.kr/assets/img/h_dash.svg);
    background-repeat: no-repeat;
    background-position: top center, bottom center;
}

/* Progress bar */
.progress__wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.6)
}
.progress__bar {
    width: 0%;
    height: inherit;
    position: absolute;
    z-index: 100;
    background-color: #303030;
    transition: width 300ms;
}

/* File upload */
.file_wrap {
    display: flex;
    gap: 1rem;
}
.file-field {
    display: block;
    width: calc(100% - 7.5rem);
    height: 3.25rem;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    font-family: 'SUIT Variable', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
input[type="file"] {
    display: none;
}

/* State */
.text-field:hover,
.text-area:hover,
.drop-down:hover,
.radio--left:hover,
.radio--left:hover,
.radio--right:hover,
.radio--right:hover,
.checkbox--left:hover,
.checkbox--left:hover,
.checkbox--right:hover,
.checkbox--right:hover { 
    border: 1.5px solid #848484; 
}

.drop-option:hover {
    background-color: #E9E9E9;
}

.button--big:hover, 
.button--small:hover {
    background-color: #4A4A4A;
}

.text-field:focus,
.text-area:focus { 
    border: 1.5px solid #848484; 
}

.text-field:disabled,
.text-area:disabled { 
    background-color: #D4D4D4; border: 1px solid #D4D4D4; 
}

.error,
.error:hover,
.error:focus {
    border: 1.5px solid #ff0000;
}