.place_register_section {
    display: block;
    width: 100%;
    max-width: var(--card-width);
    margin: 0 auto;
    height: auto;
    padding: 0 15px;
    line-height: 1;
    margin-bottom: 2rem;
}

.place_register_section > fieldset {
    display: block;
    width: 100%;
    height: auto;
    background: #fafbfd;
    border: 1px solid #e5eaf1;
    padding: 1.3em;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

.place_register_section h2 {
    display: block;
    width: 100%;
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 1em;
}

.place_register_section .section-desc {
    display: block;
    width: 100%;
    font-size: 0.875em;
    color: var(--text-help);
    margin-bottom: 1.5em;
}

.place_register_section .input-group {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1.5em;
}

.place_register_section .input-group .input-label {
    display: inline-block;
    width: auto;
    color: var(--text-label);
    font-size: 1em;
    padding-left: 0.5em;
    font-weight: 500;
    margin-bottom: 0.5em;
}

.category_cards {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: .5rem;
}
.category_cards > .category_card {
    display: block;
    width: calc(16.667% - .5rem);
    min-width: 80px;
    max-width: 90px;
    height: auto;
    border: 1px solid var(--border-color-04);
    border-radius: 14px;

    background: var(--bg-02);
    color: var(--text-unselected);

    padding: 1em;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
    position: relative;
}
.category_cards > .category_card:has(input:checked) {
    background: #eef4fb;
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}
.category_cards > .category_card:hover {
    background-color: var(--bg-03);
    border-color: var(--border-color-03);
}
.category_cards > .category_card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.category_cards > .category_card > img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    height: auto;
    margin-bottom: 0.5em;
    border-radius: 50%;
}
.category_cards > .category_card > .category_name {
    display: block;
    width: 100%;
    font-size: 0.875em;
}

.logo_box {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border-color-04);
    background: var(--bg-02);
    color: var(--text-unselected);
    text-align: center;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
    position: relative;
}
.logo_box:hover {
    background-color: var(--bg-03);
}
.preview_box {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.25em;
}
.preview_box > .photo-preview {
    display: block;
    width: 100%;
    height: 100%;
}
.preview_box > .photo-preview > .logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.preview_box > .photo-preview > .upload_btn {
    display: block;
    font-size: 2em;
    color: var(--text-unselected);
}
.preview_box > .photo-preview > .remove_btn {
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 1.2em;
    color: var(--text-unselected);
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    padding: 0.1em;
}

.preview_box > .file_msg {
    display: block;
    width: 100%;
    font-size: 0.875em;
}

.logo_and_title {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    gap: 1em;
    justify-content: flex-start;
}
.logo_and_title > .logo_box {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
}
.logo_and_title > .title_box {
    flex: 1;
    display: flex;
    height: 70px;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 0.25em;
}
.logo_and_title > .title_box label {
    margin-bottom: 0 !important;
}
textarea[name="instead_entrance_detail"] {
    width: 100%;
    height: 5em;
    line-height: 1.4;
}

.address_wrapper {
    position: relative;
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: auto 6em;
    column-gap: .5rem;
    row-gap: 1px;
    margin-bottom: 0.5rem;
}
.address_wrapper > * {
    width: 100%;
    height: auto;
}
.address_wrapper > .address_search_btn {
    display: flex;
    justify-content: center;
    align-items: center;
}
.address_wrapper > .address_search_btn > .search_icon {
    font-size: 1.2em;
    color: var(--text-unselected);
}
.address_wrapper > .address_search_btn:hover > .search_icon {
    color: var(--text-label);
}
.address_wrapper > .address_search_btn:active > .search_icon {
    color: var(--primary);
}
.address_wrapper > .address_result_box {
    /*grid-column: 1 / span 2;*/
    display: block;
    width: 100%;
    height: auto;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid var(--border-color-04);
    border-radius: 7px;
    background: var(--bg-02);
    color: var(--text-label);
}
.address_result_box::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
.address_result_box::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
.address_result_box::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,0.2);
}
.address_result_box::-webkit-scrollbar-thumb:hover{
    background: rgba(0,0,0,0.4);
}
.address_result_box::-webkit-scrollbar-thumb:active{
    background: rgba(0,0,0,.9);
}

.address_result_list {
    display: block;
    width: 100%;
    height: auto;
    list-style: none;
}
.address_result_list > .address_result_item {
    display: block;
    width: 100%;
    height: auto;
    padding: 0.5em 1em;
    border-bottom: 1px solid var(--border-color-04);
    cursor: pointer;
}
.address_result_list > .address_result_item:last-child {
    border-bottom: none;
}
.address_result_list > .address_result_item:hover {
    background-color: var(--bg-03);
}
.address_result_list > .address_result_item.active {
    background-color: var(--primary);
    color: #fff;
}

.map_container {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background:
        linear-gradient(135deg, rgba(111,140,175,.12), rgba(255,255,255,.4)),
        #edf3fa;
    border: 1px solid var(--secondary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: relative;
}
.map_container > .map_placeholder {
    display: block;
    width: 100%;
    padding: 0 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    text-align: center;
    pointer-events: none;
    line-height: 1.4;
}

.map_info_window {
    position: relative;
    min-width: 220px;
    max-width: 280px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dbe4f0;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.16);
}

/* 테두리 */
.map_info_window::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    border-width: 11px 11px 0;
    border-style: solid;
    border-color: #dbe4f0 transparent transparent transparent;
}

/* 내부 흰색 */
.map_info_window::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.map_info_window .place_title {
    display: block;
    margin: 0 0 6px;
    font-size: 1em;
    font-weight: 700;
    color: #1f2937;
}

.map_info_window .place_category {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #eef4fb;
    color: #5f7fa7;
    font-size: 0.75em;
    font-weight: 500;
}

.map_info_window .place_address {
    margin: 0;
    color: #64748b;
    font-size: 0.8125em;
    word-break: keep-all;
}

@media (max-width: 600px) {
    .place_register_section {
        padding: 0 7px;
    }
    .place_register_section > fieldset {
        padding: 1em;
        border-radius: 7px;
        box-shadow: 0 4px 12px rgba(0,0,0,.04);
    }
    .category_cards {
        gap: .35rem;
    }
    .logo_and_title {
        gap: .5em;
    }
}
@media (max-width: 400px) {
    .place_register_section > fieldset {
        padding: 0.8em;
    }
    .address_search_btn > .address_search_text {
        display: none;
    }
    .address_wrapper {
        grid-template-columns: auto 3em;
    }
}