body {
    margin: 0;
    background: #f6f7f9;
    color: #262c3e;
    font-family: "Noto Sans KR", sans-serif;
}

.root_container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gnb_background_details {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 56px;
    padding: 16px;
    gap: 8px;
    flex-shrink: 0;
    align-self: stretch;
    background: #fff;
}

.gnb_title {
    overflow: hidden;
    color: #262c3e;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}

.inspection_screen {
    width: min(100%, 520px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px 32px;
    box-sizing: border-box;
}

.inspection_form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.seller_info_group,
.reason_group,
.detail_group,
.notice_group,
.complete_panel {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    box-sizing: border-box;
}

.seller_info_group,
.reason_group,
.detail_group,
.notice_group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.section_title,
.reason_title,
.detail_group label,
.notice_title {
    color: #101828;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
}

.seller_info_group input,
.address_row input,
.visit_request_row input,
.visit_request_row select,
.detail_group textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    box-sizing: border-box;
    background: #fff;
    color: #101828;
    font-family: inherit;
    font-size: 15px;
}

.seller_info_group input,
.address_row input,
.visit_request_row input,
.visit_request_row select {
    height: 44px;
    padding: 0 12px;
}

.seller_info_group input::placeholder,
.address_row input::placeholder,
.visit_request_row input::placeholder,
.detail_group textarea::placeholder {
    color: #98a2b3;
}

.seller_info_group input[readonly] {
    background: #f9fafb;
    cursor: default;
}

.address_row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    align-items: stretch;
    gap: 8px;
}

.address_row button {
    height: 44px;
    border: 1px solid #00a88e;
    border-radius: 8px;
    background: #fff;
    color: #047968;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.check_item {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid #eef0f3;
    border-radius: 8px;
    box-sizing: border-box;
    color: #262c3e;
    font-size: 15px;
    line-height: 22px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.reason_item_last {
    border-bottom: 0;
}

.settlement_inquiry_notice {
    margin-top: 4px;
    padding: 12px;
    border-radius: 8px;
    background: #f2f4f7;
    color: #475467;
    font-size: 14px;
    line-height: 21px;
    word-break: keep-all;
}

.settlement_inquiry_notice[hidden] {
    display: none;
}

.check_item--selected {
    background: #e8f7f4;
    color: #047968;
    font-weight: 700;
}

.check_item input,
.radio_item input,
.privacy_item input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid #98a2b3;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    position: relative;
}

.check_item input:checked,
.radio_item input:checked,
.privacy_item input:checked {
    border-color: #00a88e;
    background: #00a88e;
}

.check_item input:checked::after,
.privacy_item input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check_item span,
.radio_item span,
.privacy_item span {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.radio_item input {
    border-radius: 50%;
}

.radio_item input:checked {
    box-shadow: inset 0 0 0 4px #fff;
}

.radio_item input:checked::after {
    content: none;
}

.courier_option_group {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.radio_item {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    box-sizing: border-box;
    color: #262c3e;
    font-size: 15px;
    line-height: 22px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.radio_item--selected {
    background: #e8f7f4;
    color: #047968;
    font-weight: 700;
}

.visit_request_group {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.visit_request_group label {
    color: #101828;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.visit_request_row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px auto;
    align-items: center;
    gap: 6px;
}

.visit_request_row select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #667085 50%),
        linear-gradient(135deg, #667085 50%, transparent 50%);
    background-position: calc(100% - 15px) 18px, calc(100% - 10px) 18px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.time_unit {
    color: #5d6472;
    font-size: 14px;
    line-height: 20px;
}

.detail_group textarea {
    min-height: 112px;
    padding: 12px;
    line-height: 22px;
    resize: vertical;
}

.notice_group {
    color: #5d6472;
    font-size: 13px;
    line-height: 20px;
}

.notice_group p {
    margin: 8px 0 0;
}

.notice_group ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.privacy_item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 2px;
    color: #101828;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}

.inspection_submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 8px;
    background: #00a88e;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.inspection_submit:disabled {
    background: #c9cdd4;
    cursor: default;
}

.complete_panel {
    display: none;
    padding: 18px 16px;
    color: #08745f;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.inspection_form.completed .seller_info_group,
.inspection_form.completed .reason_group,
.inspection_form.completed .detail_group,
.inspection_form.completed .notice_group,
.inspection_form.completed .inspection_submit {
    display: none;
}

@media (max-width: 360px) {
    .address_row {
        grid-template-columns: minmax(0, 1fr) 64px;
    }

    .address_row button {
        font-size: 14px;
    }

    .visit_request_row {
        grid-template-columns: minmax(0, 1fr) 64px auto;
    }
}
