/* 내 플레이스 관리 페이지 전용 스타일 */

/* 헤더 섹션 컨테이너 */
.mp-header-container {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

/* 헤더 좌측 영역 */
.mp-header-left {
    display: flex;
    align-items: center;
    gap: 1.375rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

/* 폴더 필터 그룹 */
.mp-folder-filter-group {
    position: relative;
}

.mp-folder-filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.mp-folder-filter-label i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.mp-folder-select {
    appearance: none;
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-800);
    background: var(--surface-color);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-folder-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.mp-folder-select-arrow {
    position: absolute;
    right: 1rem;
    bottom: 1.0625rem;
    color: var(--gray-400);
    font-size: 0.875rem;
    pointer-events: none;
    transition: color 0.2s ease;
    line-height: 1;
}

.mp-folder-filter-group:hover .mp-folder-select-arrow {
    color: var(--primary-color);
}

/* 검색 필터 그룹 */
.mp-search-filter-group {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.mp-search-filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.mp-search-filter-label i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.mp-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.mp-search-icon {
    position: absolute;
    left: 1rem;
    color: var(--gray-400);
    font-size: 1rem;
    z-index: 2;
}

.mp-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--gray-800);
    background: var(--surface-color);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-search-input::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.mp-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.mp-search-input-wrapper:focus-within .mp-search-icon {
    color: var(--primary-color);
}

/* 등록된 플레이스 정보 */
.mp-place-count-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mp-place-count-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.mp-place-count-label i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.mp-place-count-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    background: rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: var(--radius-md);
    padding: 0.375rem 0.75rem;
}

.mp-place-count-current {
    color: var(--primary-color);
}

.mp-place-count-separator {
    color: var(--gray-400);
    font-size: 1.25rem;
}

.mp-place-count-total {
    color: var(--gray-600);
    font-size: 1.25rem;
}

/* 헤더 우측 영역 */
.mp-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* 폴더 관리 버튼 */
.mp-folder-manage-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.mp-folder-manage-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.mp-folder-manage-btn i {
    font-size: 0.875rem;
}

/* 폴더 변경 버튼 */
.mp-folder-change-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.mp-folder-change-btn:hover {
    background: var(--primary-dark);
}

.mp-folder-change-btn:active {
    transform: translateY(0);
}

.mp-folder-change-btn i {
    font-size: 0.875rem;
}

/* 1200px 브레이크포인트 */
@media (max-width: 1200px) {
    .mp-header-container {
        padding: 1.375rem;
        gap: 2.25rem;
    }

    .mp-header-left {
        gap: 1.25rem;
    }

    .mp-folder-filter-label,
    .mp-search-filter-label,
    .mp-place-count-label {
        font-size: 0.8438rem;
        gap: 0.4375rem;
    }

    .mp-folder-filter-label i,
    .mp-search-filter-label i,
    .mp-place-count-label i {
        font-size: 0.8438rem;
    }

    .mp-folder-select,
    .mp-search-input {
        padding: 0.6875rem 2.375rem 0.6875rem 0.9375rem;
        font-size: 0.90625rem;
    }

    .mp-search-input {
        padding-left: 2.625rem;
    }

    .mp-folder-select-arrow {
        right: 0.9375rem;
        bottom: 1rem;
        font-size: 0.8438rem;
    }

    .mp-search-icon {
        left: 0.9375rem;
        font-size: 0.9375rem;
    }

    .mp-search-filter-group {
        max-width: 380px;
    }

    .mp-place-count-value {
        font-size: 1.4375rem;
        padding: 0.34375rem 0.6875rem;
    }

    .mp-place-count-separator {
        font-size: 1.1875rem;
    }

    .mp-place-count-total {
        font-size: 1.1875rem;
    }

    .mp-header-right {
        gap: 0.6875rem;
    }

    .mp-folder-manage-btn,
    .mp-folder-change-btn {
        padding: 0.6875rem 1.1875rem;
        font-size: 0.90625rem;
        gap: 0.4375rem;
    }

    .mp-folder-manage-btn i,
    .mp-folder-change-btn i {
        font-size: 0.8438rem;
    }
}

/* 900px 브레이크포인트 */
@media (max-width: 900px) {
    .mp-header-container {
        padding: 1.25rem;
        gap: 2rem;
    }

    .mp-header-left {
        gap: 1rem;
    }

    .mp-folder-filter-label,
    .mp-search-filter-label,
    .mp-place-count-label {
        font-size: 0.8281rem;
        gap: 0.40625rem;
        margin-bottom: 0.4375rem;
    }

    .mp-folder-filter-label i,
    .mp-search-filter-label i,
    .mp-place-count-label i {
        font-size: 0.8281rem;
    }

    .mp-folder-select,
    .mp-search-input {
        padding: 0.65625rem 2.25rem 0.65625rem 0.875rem;
        font-size: 0.89063rem;
    }

    .mp-search-input {
        padding-left: 2.5rem;
    }

    .mp-folder-select-arrow {
        right: 0.875rem;
        bottom: 0.96875rem;
        font-size: 0.8281rem;
    }

    .mp-search-icon {
        left: 0.875rem;
        font-size: 0.9375rem;
    }

    .mp-search-filter-group {
        max-width: 360px;
    }

    .mp-place-count-value {
        font-size: 1.375rem;
        padding: 0.3125rem 0.65625rem;
    }

    .mp-place-count-separator {
        font-size: 1.125rem;
    }

    .mp-place-count-total {
        font-size: 1.125rem;
    }

    .mp-header-right {
        gap: 0.625rem;
    }

    .mp-folder-manage-btn,
    .mp-folder-change-btn {
        padding: 0.65625rem 1.125rem;
        font-size: 0.89063rem;
        gap: 0.40625rem;
    }

    .mp-folder-manage-btn i,
    .mp-folder-change-btn i {
        font-size: 0.8281rem;
    }
}

/* 768px 브레이크포인트 */
@media (max-width: 768px) {
    .mp-header-container {
        padding: 1rem;
        margin-bottom: 1rem;
        gap: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .mp-header-left {
        gap: 0.75rem;
        flex-direction: row;
        align-items: flex-start;
    }

    .mp-folder-filter-group {
        flex: 0 0 auto;
        width: 35%;
    }

    .mp-folder-filter-label,
    .mp-search-filter-label,
    .mp-place-count-label {
        font-size: 0.8125rem;
        gap: 0.375rem;
        margin-bottom: 0.375rem;
    }

    .mp-folder-filter-label i,
    .mp-search-filter-label i,
    .mp-place-count-label i {
        font-size: 0.8125rem;
    }

    .mp-folder-select,
    .mp-search-input {
        padding: 0.625rem 2.125rem 0.625rem 0.8125rem;
        font-size: 0.875rem;
    }

    .mp-search-input {
        padding-left: 2.375rem;
    }

    .mp-folder-select-arrow {
        right: 0.8125rem;
        bottom: 0.9375rem;
        font-size: 0.8125rem;
    }

    .mp-search-icon {
        left: 0.8125rem;
        font-size: 0.875rem;
    }

    .mp-search-filter-group {
        max-width: none;
        flex: 1;
        min-width: 0;
    }

    .mp-place-count-group {
        display: none;
    }

    .mp-header-right {
        gap: 0.5rem;
        width: 100%;
        flex-direction: row;
    }

    .mp-folder-manage-btn,
    .mp-folder-change-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        gap: 0.375rem;
        flex: 1;
        justify-content: center;
    }

    .mp-folder-manage-btn i,
    .mp-folder-change-btn i {
        font-size: 0.8125rem;
    }
}

/* 480px 브레이크포인트 */
@media (max-width: 480px) {
    .mp-header-container {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        gap: 0.75rem;
    }

    .mp-header-left {
        gap: 0.5rem;
        flex-direction: row;
    }

    .mp-folder-filter-group {
        flex: 0 0 auto;
        width: 35%;
    }

    .mp-folder-filter-label,
    .mp-search-filter-label,
    .mp-place-count-label {
        font-size: 0.75rem;
        gap: 0.3125rem;
        margin-bottom: 0.3125rem;
    }

    .mp-folder-filter-label i,
    .mp-search-filter-label i,
    .mp-place-count-label i {
        font-size: 0.75rem;
    }

    .mp-folder-select,
    .mp-search-input {
        padding: 0.5625rem 2rem 0.5625rem 0.75rem;
        font-size: 0.8125rem;
    }

    .mp-search-input {
        padding-left: 2.25rem;
    }

    .mp-folder-select-arrow {
        right: 0.75rem;
        bottom: 0.875rem;
        font-size: 0.75rem;
    }

    .mp-search-icon {
        left: 0.75rem;
        font-size: 0.8125rem;
    }

    .mp-search-filter-group {
        flex: 1;
        min-width: 0;
    }

    .mp-place-count-group {
        display: none;
    }

    .mp-header-right {
        gap: 0.375rem;
        flex-direction: row;
    }

    .mp-folder-manage-btn,
    .mp-folder-change-btn {
        padding: 0.5625rem 0.875rem;
        font-size: 0.8125rem;
        gap: 0.3125rem;
        flex: 1;
    }

    .mp-folder-manage-btn i,
    .mp-folder-change-btn i {
        font-size: 0.75rem;
    }
}

/* ===== 플레이스 그리드 섹션 ===== */

/* 플레이스 그리드 컨테이너 */
.mp-places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0;
    margin-bottom: 2rem;
}

/* 플레이스 카드 */
.mp-place-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 270px;
}

/* 플레이스 카드 이미지 영역 */
.mp-place-card-image-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.mp-place-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mp-place-card:hover .mp-place-card-image {
    transform: scale(1.05);
}

/* 플레이스 카드 오버레이 */
.mp-place-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.mp-place-card:hover .mp-place-card-overlay {
    opacity: 1;
}

.mp-place-card-view-text {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 플레이스 카드 삭제 버튼 */
.mp-place-card-delete-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--white);
    border: none;
    border-radius: var(--radius-md);
    color: rgba(239, 68, 68, 1);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.mp-place-card:hover .mp-place-card-delete-btn {
    opacity: 1;
    transform: scale(1);
}

.mp-place-card-delete-btn:hover {
    background: rgba(239, 68, 68, 1);
    color: var(--white);
    transform: scale(1.1);
}

.mp-place-card-delete-btn:active {
    transform: scale(0.95);
}

/* 플레이스 카드 정보 영역 */
.mp-place-card-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--surface-color);
}

.mp-place-card-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-place-card-folder {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 새 플레이스 추가 카드 */
.mp-add-place-card {
    border: 2px dashed rgba(30, 64, 175, 0.4);
    background: rgba(30, 64, 175, 0.03);
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-add-place-card:hover {
    border-color: rgba(30, 64, 175, 0.6);
    background: rgba(30, 64, 175, 0.06);
}

.mp-add-place-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    gap: 1rem;
}

.mp-add-place-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-add-place-card:hover .mp-add-place-icon {
    background: rgba(30, 64, 175, 0.15);
    transform: scale(1.1);
}

.mp-add-place-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.mp-add-place-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.mp-add-place-hint {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-500);
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* 1200px 브레이크포인트 - 플레이스 그리드 */
@media (max-width: 1200px) {
    .mp-places-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.75rem;
    }

    .mp-place-card {
        height: 250px;
    }

    .mp-place-card-view-text {
        font-size: 1.0625rem;
    }

    .mp-place-card-delete-btn {
        width: 2.375rem;
        height: 2.375rem;
        font-size: 0.9375rem;
        top: 0.6875rem;
        right: 0.6875rem;
    }

    .mp-place-card-info {
        padding: 1.1875rem;
        gap: 0.4375rem;
    }

    .mp-place-card-name {
        font-size: 1.0625rem;
    }

    .mp-place-card-folder {
        font-size: 0.8438rem;
    }
    
    /* 새 플레이스 추가 카드 - 1200px */
    .mp-add-place-card-content {
        padding: 1.875rem;
        gap: 0.9375rem;
    }
    
    .mp-add-place-icon {
        width: 3.75rem;
        height: 3.75rem;
    }
    
    .mp-add-place-icon i {
        font-size: 1.875rem;
    }
    
    .mp-add-place-title {
        font-size: 1.0625rem;
    }
    
    .mp-add-place-hint {
        font-size: 0.8438rem;
    }
}

/* 900px 브레이크포인트 - 플레이스 그리드 */
@media (max-width: 900px) {
    .mp-places-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .mp-place-card {
        height: 220px;
    }

    .mp-place-card-view-text {
        font-size: 1rem;
    }

    .mp-place-card-delete-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
        top: 0.65625rem;
        right: 0.65625rem;
    }

    .mp-place-card-info {
        padding: 1.125rem;
        gap: 0.40625rem;
    }

    .mp-place-card-name {
        font-size: 1rem;
    }

    .mp-place-card-folder {
        font-size: 0.8281rem;
    }
    
    /* 새 플레이스 추가 카드 - 900px */
    .mp-add-place-card-content {
        padding: 1.75rem;
        gap: 0.875rem;
    }
    
    .mp-add-place-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .mp-add-place-icon i {
        font-size: 1.75rem;
    }
    
    .mp-add-place-title {
        font-size: 1rem;
    }
    
    .mp-add-place-hint {
        font-size: 0.8281rem;
    }
}

/* 768px 브레이크포인트 - 플레이스 그리드 */
@media (max-width: 768px) {
    .mp-places-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.25rem;
        margin-bottom: 1rem;
    }

    .mp-place-card {
        height: 190px;
    }

    .mp-place-card-view-text {
        font-size: 0.9375rem;
    }

    .mp-place-card-delete-btn {
        width: 2.125rem;
        height: 2.125rem;
        font-size: 0.8125rem;
        top: 0.625rem;
        right: 0.625rem;
    }

    .mp-place-card-info {
        padding: 1rem;
        gap: 0.375rem;
    }

    .mp-place-card-name {
        font-size: 0.9375rem;
    }

    .mp-place-card-folder {
        font-size: 0.8125rem;
    }
    
    /* 새 플레이스 추가 카드 - 768px */
    .mp-add-place-card-content {
        padding: 1.5rem;
        gap: 0.75rem;
    }
    
    .mp-add-place-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .mp-add-place-icon i {
        font-size: 1.5rem;
    }
    
    .mp-add-place-title {
        font-size: 0.9375rem;
    }
    
    .mp-add-place-hint {
        font-size: 0.8125rem;
    }
}

/* 480px 브레이크포인트 - 플레이스 그리드 */
@media (max-width: 480px) {
    .mp-places-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
        margin-bottom: 0.75rem;
    }

    .mp-place-card {
        height: 160px;
    }

    .mp-place-card-view-text {
        font-size: 0.875rem;
    }

    .mp-place-card-delete-btn {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
        top: 0.5rem;
        right: 0.5rem;
    }

    .mp-place-card-info {
        padding: 0.875rem;
        gap: 0.3125rem;
    }

    .mp-place-card-name {
        font-size: 0.875rem;
    }

    .mp-place-card-folder {
        font-size: 0.75rem;
    }
    
    /* 새 플레이스 추가 카드 - 480px */
    .mp-add-place-card-content {
        padding: 1.25rem;
        gap: 0.625rem;
    }
    
    .mp-add-place-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .mp-add-place-icon i {
        font-size: 1.25rem;
    }
    
    .mp-add-place-title {
        font-size: 0.875rem;
    }
    
    .mp-add-place-hint {
        font-size: 0.75rem;
    }
}

/* 내 플레이스 관리 페이지 폴더 관리 모달 스타일 */

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

/* 모달 컨테이너 */
.mp-modal-container {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 75vw;
    height: 430px;
    max-height: 430px;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 모달 헤더 */
.mp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.mp-modal-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mp-modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
}

.mp-modal-title i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* 새 폴더 추가 버튼 */
.mp-add-folder-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.mp-add-folder-btn:hover {
    background: var(--primary-dark);
}

.mp-modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mp-modal-close-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.mp-modal-close-btn i {
    font-size: 0.875rem;
}

/* 모달 콘텐츠 */
.mp-modal-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 모달 로딩 */
.mp-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    flex: 1;
}

.mp-loading-spinner {
    margin-bottom: 1rem;
}

.mp-loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.mp-loading-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* 모달 테이블 래퍼 */
.mp-modal-table-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 1.5rem;
}

/* 모달 테이블 컨테이너 */
.mp-modal-table-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    max-height: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
    background: var(--surface-color);
    -webkit-overflow-scrolling: touch;
    display: block;
}

/* 모달 테이블 */
.mp-modal-results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
    background: var(--surface-color);
    min-width: 650px;
}

.mp-modal-results-table th {
    background: #e2e8f0;
    padding: 0.625rem 0.875rem;
    text-align: center;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 0.875rem;
}

.mp-modal-results-table th:last-child {
    border-right: none;
}

.mp-modal-results-table td {
    padding: 0.25rem 0.875rem;
    border-bottom: 1px solid var(--gray-100);
    border-right: 1px solid var(--gray-100);
    color: var(--gray-700);
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: center;
}

.mp-modal-results-table td:last-child {
    border-right: none;
}

.mp-modal-results-table tbody tr {
    transition: all 0.15s ease;
}

.mp-modal-results-table tbody tr:hover {
    background: rgba(30, 64, 175, 0.03);
}

.mp-modal-results-table tr:last-child td {
    border-bottom: none;
}

/* 모달 테이블 특정 열 스타일 */

/* 폴더명 열 스타일 (좌측 정렬, 폰트 굵게) */
.mp-modal-results-table td.mp-modal-folder-name {
    font-weight: 600;
    color: var(--gray-700);
    text-align: left;
    white-space: nowrap;
}

/* 플레이스 수, 등록일 열 스타일 - 일반 열 (중앙 정렬) */
.mp-modal-results-table td:nth-child(2),
.mp-modal-results-table td:nth-child(3) {
    font-weight: 400;
    color: var(--gray-700);
    text-align: center;
    white-space: nowrap;
}

/* 메모 열 스타일 - 일반 열과 동일하되 좌측 정렬 */
.mp-modal-results-table td.mp-modal-memo {
    font-weight: 400;
    color: var(--gray-700);
    text-align: left;
    white-space: nowrap;
}

/* 메모가 비어있을 때 ("-" 표시) 중앙 정렬 */
.mp-modal-results-table td.mp-modal-memo-empty {
    text-align: center;
}

/* 편집 가능한 열 컨테이너 (ps-title-container와 동일) */
.mp-modal-editable-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

/* 편집 가능한 텍스트 */
.mp-modal-editable-text {
    flex: 1;
    min-width: 0;
}

/* 편집 아이콘 (ps-link-icon과 동일) */
.mp-modal-edit-icon {
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    flex-shrink: 0;
}

.mp-modal-edit-icon:hover {
    color: var(--white);
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
}

/* 편집 input 필드 */
.mp-modal-edit-input {
    width: 100%;
    padding: 0.375rem 0.625rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--gray-700);
    background: var(--surface-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    transition: all 0.2s ease;
}

.mp-modal-edit-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

/* 삭제 열 스타일 - 선택 열과 일치 */
.mp-modal-results-table td:nth-child(5) {
    text-align: center;
}

/* 모달 내 삭제 아이콘 - 빨간색 */
.mp-modal-delete-icon {
    color: rgba(239, 68, 68, 1);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    padding: 0.375rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mp-modal-delete-icon:hover {
    color: var(--white);
    background: rgba(239, 68, 68, 1);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* 모달 반응형 디자인 */

/* 1200px 이하 */
@media (max-width: 1200px) {
    .mp-modal-container {
        max-width: 80vw;
        height: 400px;
        max-height: 400px;
    }
    
    .mp-modal-header {
        padding: 1.125rem 1.375rem;
    }
    
    .mp-modal-header-left {
        gap: 0.875rem;
    }
    
    .mp-add-folder-btn {
        padding: 0.5625rem 0.875rem;
        font-size: 0.8438rem;
    }
    
    .mp-modal-table-wrapper {
        padding: 1.375rem;
    }
    
    .mp-modal-results-table {
        min-width: 600px;
    }
    
    .mp-modal-results-table th {
        padding: 0.5625rem 0.8125rem;
        font-size: 0.8438rem;
    }
    
    .mp-modal-results-table td {
        padding: 0.25rem 0.8125rem;
        font-size: 0.8438rem;
    }
    
    .mp-modal-edit-icon {
        font-size: 0.8438rem;
    }
    
    .mp-modal-edit-input {
        padding: 0.34375rem 0.59375rem;
        font-size: 0.8438rem;
    }
}

/* 모달 테이블 컨테이너 스크롤바 스타일링 - PC에서만 표시 */
@media (min-width: 1025px) {
    .mp-modal-table-container::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .mp-modal-table-container::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 3px;
    }

    .mp-modal-table-container::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 3px;
    }

    .mp-modal-table-container::-webkit-scrollbar-thumb:hover {
        background: var(--gray-400);
    }

    .mp-modal-table-container::-webkit-scrollbar-corner {
        background: var(--gray-100);
    }
}

/* 태블릿에서 스크롤바 숨기기 */
@media (max-width: 1024px) {
    .mp-modal-table-container::-webkit-scrollbar {
        display: none;
    }
    
    .mp-modal-table-container {
        scrollbar-width: none;
    }
}

/* 900px 이하 */
@media (max-width: 900px) {
    .mp-modal-overlay {
        padding: 0.75rem;
    }
    
    .mp-modal-container {
        max-width: 85vw;
        height: 380px;
        max-height: 380px;
    }
    
    .mp-modal-header {
        padding: 1rem 1.25rem;
    }
    
    .mp-modal-header-left {
        gap: 0.75rem;
    }
    
    .mp-add-folder-btn {
        padding: 0.53125rem 0.8125rem;
        font-size: 0.8281rem;
    }
    
    .mp-modal-table-wrapper {
        padding: 1.25rem;
    }
    
    .mp-modal-results-table {
        min-width: 550px;
    }
    
    .mp-modal-results-table th {
        padding: 0.53125rem 0.78125rem;
        font-size: 0.8281rem;
    }
    
    .mp-modal-results-table td {
        padding: 0.25rem 0.78125rem;
        font-size: 0.8281rem;
    }
    
    .mp-modal-delete-icon {
        font-size: 1.0625rem;
        padding: 0.28125rem;
    }
    
    .mp-modal-edit-icon {
        font-size: 0.8281rem;
        padding: 0.21875rem;
    }
    
    .mp-modal-edit-input {
        padding: 0.328125rem 0.578125rem;
        font-size: 0.8281rem;
    }
}

/* 768px 이하 */
@media (max-width: 768px) {
    .mp-modal-overlay {
        padding: 0.5rem;
    }
    
    .mp-modal-container {
        max-width: 90vw;
        height: 350px;
        max-height: 350px;
    }
    
    .mp-modal-header {
        padding: 0.875rem 1rem;
    }
    
    .mp-modal-header-left {
        gap: 0.625rem;
    }
    
    .mp-modal-title {
        font-size: 1rem;
        gap: 0.375rem;
    }
    
    .mp-modal-title i {
        font-size: 0.875rem;
    }
    
    .mp-add-folder-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .mp-modal-close-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .mp-modal-close-btn i {
        font-size: 0.8125rem;
    }
    
    .mp-modal-loading {
        padding: 2rem 1rem;
    }
    
    .mp-loading-spinner i {
        font-size: 1.75rem;
        animation: spin 1s linear infinite;
    }
    
    .mp-loading-text {
        font-size: 0.8125rem;
    }
    
    .mp-modal-table-wrapper {
        padding: 1rem;
    }
    
    .mp-modal-results-table {
        font-size: 0.8125rem;
        min-width: 500px;
    }
    
    .mp-modal-results-table th {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .mp-modal-results-table td {
        padding: 0.25rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .mp-modal-delete-icon {
        font-size: 1rem;
        padding: 0.25rem;
    }
    
    .mp-modal-edit-icon {
        font-size: 0.8125rem;
        padding: 0.1875rem;
    }
    
    .mp-modal-edit-input {
        padding: 0.3125rem 0.5625rem;
        font-size: 0.8125rem;
    }
}

/* 480px 이하 */
@media (max-width: 480px) {
    .mp-modal-overlay {
        padding: 0.25rem;
    }
    
    .mp-modal-container {
        max-width: 95vw;
        height: 300px;
        max-height: 300px;
    }
    
    .mp-modal-header {
        padding: 0.75rem 0.875rem;
    }
    
    .mp-modal-header-left {
        gap: 0.5rem;
    }
    
    .mp-modal-title {
        font-size: 0.9375rem;
        gap: 0.375rem;
    }
    
    .mp-modal-title i {
        font-size: 0.8125rem;
    }
    
    .mp-add-folder-btn {
        padding: 0.4375rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .mp-modal-close-btn {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .mp-modal-close-btn i {
        font-size: 0.75rem;
    }
    
    .mp-modal-loading {
        padding: 1.5rem 0.75rem;
    }
    
    .mp-loading-spinner i {
        font-size: 1.5rem;
        animation: spin 1s linear infinite;
    }
    
    .mp-loading-text {
        font-size: 0.75rem;
    }
    
    .mp-modal-table-wrapper {
        padding: 0.75rem;
    }
    
    .mp-modal-results-table {
        font-size: 0.75rem;
        min-width: 450px;
    }
    
    .mp-modal-results-table th {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .mp-modal-results-table td {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .mp-modal-delete-icon {
        font-size: 0.875rem;
        padding: 0.1875rem;
    }
    
    .mp-modal-edit-icon {
        font-size: 0.75rem;
        padding: 0.125rem;
    }
    
    .mp-modal-edit-input {
        padding: 0.28125rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* 내 플레이스 관리 페이지 폴더 변경 모달 스타일 */

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

/* 모달 컨테이너 */
.mp-fc-modal-container {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 75vw;
    height: 430px;
    max-height: 430px;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 모달 헤더 */
.mp-fc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.mp-fc-modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
}

.mp-fc-modal-title i {
    color: var(--primary-color);
    font-size: 1rem;
}

.mp-fc-modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mp-fc-modal-close-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.mp-fc-modal-close-btn i {
    font-size: 0.875rem;
}

/* 모달 콘텐츠 */
.mp-fc-modal-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 모달 로딩 */
.mp-fc-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    flex: 1;
}

.mp-fc-loading-spinner {
    margin-bottom: 1rem;
}

.mp-fc-loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.mp-fc-loading-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* 모달 테이블 래퍼 */
.mp-fc-modal-table-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 1.5rem;
}

/* 모달 테이블 컨테이너 */
.mp-fc-modal-table-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    max-height: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.8);
    background: var(--surface-color);
    -webkit-overflow-scrolling: touch;
    display: block;
}

/* 모달 테이블 */
.mp-fc-modal-results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
    background: var(--surface-color);
    min-width: 650px;
}

.mp-fc-modal-results-table th {
    background: #e2e8f0;
    padding: 0.625rem 0.875rem;
    text-align: center;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 0.875rem;
}

.mp-fc-modal-results-table th:last-child {
    border-right: none;
}

.mp-fc-modal-results-table td {
    padding: 0.25rem 0.875rem;
    border-bottom: 1px solid var(--gray-100);
    border-right: 1px solid var(--gray-100);
    color: var(--gray-700);
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: center;
}

.mp-fc-modal-results-table td:last-child {
    border-right: none;
}

.mp-fc-modal-results-table tbody tr {
    transition: all 0.15s ease;
}

.mp-fc-modal-results-table tbody tr:hover {
    background: rgba(30, 64, 175, 0.03);
}

.mp-fc-modal-results-table tr:last-child td {
    border-bottom: none;
}

/* 모달 테이블 특정 열 스타일 */

/* 프로필 열 스타일 */
.mp-fc-modal-results-table td:nth-child(1) {
    text-align: center;
}

.mp-fc-modal-profile-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gray-200);
}

/* 상호 열 스타일 - 좌측 정렬 */
.mp-fc-modal-results-table td.mp-fc-modal-place-name {
    font-weight: 600;
    color: var(--gray-700);
    text-align: left;
    white-space: nowrap;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mp-fc-modal-results-table td.mp-fc-modal-place-name:hover {
    color: var(--primary-color);
}

/* 주소, 현재 폴더 열 스타일 - 중앙 정렬 */
.mp-fc-modal-results-table td:nth-child(3),
.mp-fc-modal-results-table td:nth-child(4) {
    font-weight: 400;
    color: var(--gray-700);
    text-align: center;
    white-space: nowrap;
}

/* 변경할 폴더 드롭다운 */
.mp-fc-folder-dropdown {
    appearance: none;
    width: 100%;
    min-width: 120px;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-800);
    background: var(--surface-color) url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%239CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 0.5rem center;
    background-size: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-fc-folder-dropdown:focus {
    outline: none;
}

.mp-fc-folder-dropdown:hover {
    border-color: var(--gray-300);
}

/* 모달 반응형 디자인 */

/* 1200px 이하 */
@media (max-width: 1200px) {
    .mp-fc-modal-container {
        max-width: 80vw;
        height: 400px;
        max-height: 400px;
    }
    
    .mp-fc-modal-header {
        padding: 1.125rem 1.375rem;
    }
    
    .mp-fc-modal-table-wrapper {
        padding: 1.375rem;
    }
    
    .mp-fc-modal-results-table {
        min-width: 600px;
    }
    
    .mp-fc-modal-results-table th {
        padding: 0.5625rem 0.8125rem;
        font-size: 0.8438rem;
    }
    
    .mp-fc-modal-results-table td {
        padding: 0.25rem 0.8125rem;
        font-size: 0.8438rem;
    }
    
    .mp-fc-modal-profile-image {
        width: 30px;
        height: 30px;
    }
    
    /* 상호 열 max-width */
    .mp-fc-modal-results-table td.mp-fc-modal-place-name {
        max-width: 240px;
    }
    
    .mp-fc-folder-dropdown {
        min-width: 110px;
        padding: 0.34375rem 1.875rem 0.34375rem 0.6875rem;
        font-size: 0.8438rem;
        background-size: 0.9375rem;
    }
}

/* 모달 테이블 컨테이너 스크롤바 스타일링 - PC에서만 표시 */
@media (min-width: 1025px) {
    .mp-fc-modal-table-container::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .mp-fc-modal-table-container::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 3px;
    }

    .mp-fc-modal-table-container::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 3px;
    }

    .mp-fc-modal-table-container::-webkit-scrollbar-thumb:hover {
        background: var(--gray-400);
    }

    .mp-fc-modal-table-container::-webkit-scrollbar-corner {
        background: var(--gray-100);
    }
}

/* 태블릿에서 스크롤바 숨기기 */
@media (max-width: 1024px) {
    .mp-fc-modal-table-container::-webkit-scrollbar {
        display: none;
    }
    
    .mp-fc-modal-table-container {
        scrollbar-width: none;
    }
}

/* 900px 이하 */
@media (max-width: 900px) {
    .mp-fc-modal-overlay {
        padding: 0.75rem;
    }
    
    .mp-fc-modal-container {
        max-width: 85vw;
        height: 380px;
        max-height: 380px;
    }
    
    .mp-fc-modal-header {
        padding: 1rem 1.25rem;
    }
    
    .mp-fc-modal-table-wrapper {
        padding: 1.25rem;
    }
    
    .mp-fc-modal-results-table {
        min-width: 550px;
    }
    
    .mp-fc-modal-results-table th {
        padding: 0.53125rem 0.78125rem;
        font-size: 0.8281rem;
    }
    
    .mp-fc-modal-results-table td {
        padding: 0.25rem 0.78125rem;
        font-size: 0.8281rem;
    }
    
    .mp-fc-modal-profile-image {
        width: 28px;
        height: 28px;
    }
    
    /* 상호 열 max-width */
    .mp-fc-modal-results-table td.mp-fc-modal-place-name {
        max-width: 235px;
    }
    
    .mp-fc-folder-dropdown {
        min-width: 105px;
        padding: 0.328125rem 1.75rem 0.328125rem 0.65625rem;
        font-size: 0.8281rem;
        background-size: 0.90625rem;
    }
}

/* 768px 이하 */
@media (max-width: 768px) {
    .mp-fc-modal-overlay {
        padding: 0.5rem;
    }
    
    .mp-fc-modal-container {
        max-width: 90vw;
        height: 350px;
        max-height: 350px;
    }
    
    .mp-fc-modal-header {
        padding: 0.875rem 1rem;
    }
    
    .mp-fc-modal-title {
        font-size: 1rem;
        gap: 0.375rem;
    }
    
    .mp-fc-modal-title i {
        font-size: 0.875rem;
    }
    
    .mp-fc-modal-close-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .mp-fc-modal-close-btn i {
        font-size: 0.8125rem;
    }
    
    .mp-fc-modal-loading {
        padding: 2rem 1rem;
    }
    
    .mp-fc-loading-spinner i {
        font-size: 1.75rem;
        animation: spin 1s linear infinite;
    }
    
    .mp-fc-loading-text {
        font-size: 0.8125rem;
    }
    
    .mp-fc-modal-table-wrapper {
        padding: 1rem;
    }
    
    .mp-fc-modal-results-table {
        font-size: 0.8125rem;
        min-width: 500px;
    }
    
    .mp-fc-modal-results-table th {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .mp-fc-modal-results-table td {
        padding: 0.25rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .mp-fc-modal-profile-image {
        width: 26px;
        height: 26px;
    }
    
    /* 상호 열 max-width */
    .mp-fc-modal-results-table td.mp-fc-modal-place-name {
        max-width: 230px;
    }
    
    .mp-fc-folder-dropdown {
        min-width: 100px;
        padding: 0.3125rem 1.625rem 0.3125rem 0.625rem;
        font-size: 0.8125rem;
        background-size: 0.875rem;
    }
}

/* 480px 이하 */
@media (max-width: 480px) {
    .mp-fc-modal-overlay {
        padding: 0.25rem;
    }
    
    .mp-fc-modal-container {
        max-width: 95vw;
        height: 300px;
        max-height: 300px;
    }
    
    .mp-fc-modal-header {
        padding: 0.75rem 0.875rem;
    }
    
    .mp-fc-modal-title {
        font-size: 0.9375rem;
        gap: 0.375rem;
    }
    
    .mp-fc-modal-title i {
        font-size: 0.8125rem;
    }
    
    .mp-fc-modal-close-btn {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .mp-fc-modal-close-btn i {
        font-size: 0.75rem;
    }
    
    .mp-fc-modal-loading {
        padding: 1.5rem 0.75rem;
    }
    
    .mp-fc-loading-spinner i {
        font-size: 1.5rem;
        animation: spin 1s linear infinite;
    }
    
    .mp-fc-loading-text {
        font-size: 0.75rem;
    }
    
    .mp-fc-modal-table-wrapper {
        padding: 0.75rem;
    }
    
    .mp-fc-modal-results-table {
        font-size: 0.75rem;
        min-width: 450px;
    }
    
    .mp-fc-modal-results-table th {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .mp-fc-modal-results-table td {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .mp-fc-modal-profile-image {
        width: 24px;
        height: 24px;
    }
    
    /* 상호 열 max-width */
    .mp-fc-modal-results-table td.mp-fc-modal-place-name {
        max-width: 230px;
    }
    
    .mp-fc-folder-dropdown {
        min-width: 90px;
        padding: 0.28125rem 1.5rem 0.28125rem 0.5rem;
        font-size: 0.75rem;
        background-size: 0.8125rem;
    }
}

/* ===== 플레이스 추가 모달 스타일 (mp-ap-) ===== */

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

/* 모달 컨테이너 */
.mp-ap-modal-container {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* 모달 헤더 */
.mp-ap-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.mp-ap-modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
}

.mp-ap-modal-title i {
    color: var(--primary-color);
    font-size: 1rem;
}

.mp-ap-modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mp-ap-modal-close-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.mp-ap-modal-close-btn i {
    font-size: 0.875rem;
}

/* 모달 콘텐츠 */
.mp-ap-modal-content {
    padding: 1.5rem;
    overflow-y: visible;
    flex: 1;
}

.mp-ap-modal-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    text-align: left;
}

/* URL 입력 섹션 */
.mp-ap-url-input-section {
    margin-bottom: 0;
}

.mp-ap-url-input-section .mp-ap-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mp-ap-url-input-group {
    flex: 1;
}

.mp-ap-url-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.2s ease;
}

.mp-ap-url-input::placeholder {
    color: var(--gray-400);
}

.mp-ap-url-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

.mp-ap-url-search-btn {
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mp-ap-url-search-btn:hover {
    background: var(--primary-dark);
}

/* 키워드 입력 섹션 */
.mp-ap-keyword-input-section {
    margin-bottom: 0;
}

.mp-ap-keyword-input-section .mp-ap-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mp-ap-keyword-input-group {
    flex: 1;
}

.mp-ap-keyword-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.2s ease;
}

.mp-ap-keyword-input::placeholder {
    color: var(--gray-400);
}

.mp-ap-keyword-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

.mp-ap-keyword-search-btn {
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mp-ap-keyword-search-btn:hover {
    background: var(--primary-dark);
}

/* 로딩 섹션 */
.mp-ap-loading-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
}

.mp-ap-loading-spinner {
    margin-bottom: 1rem;
}

.mp-ap-loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.mp-ap-loading-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* 폴더 선택 섹션 */
.mp-ap-folder-selection-section {
    margin-bottom: 0;
}

.mp-ap-folder-selection-section .mp-ap-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.mp-ap-folder-dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.mp-ap-folder-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.mp-ap-dropdown-wrapper {
    position: relative;
}

.mp-ap-folder-dropdown-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--gray-800);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mp-ap-folder-dropdown-btn:hover {
    border-color: var(--gray-400);
}

.mp-ap-folder-dropdown-btn:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

.mp-ap-folder-dropdown-btn i {
    color: var(--gray-500);
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.mp-ap-folder-dropdown-btn.active i {
    transform: rotate(180deg);
}

.mp-ap-folder-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 2000;
    margin-top: 0.25rem;
    display: none;
}

.mp-ap-folder-dropdown-list.show {
    display: block;
}

.mp-ap-folder-option {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-800);
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
}

.mp-ap-folder-option:last-child {
    border-bottom: none;
}

.mp-ap-folder-option:hover {
    background: var(--gray-50);
}

.mp-ap-folder-option:active {
    background: var(--gray-100);
}

.mp-ap-folder-search-btn {
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mp-ap-folder-search-btn:hover:not(:disabled) {
    background: var(--primary-dark);
}

.mp-ap-folder-search-btn:disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
}

/* 스크롤바 스타일링 */
.mp-ap-modal-content::-webkit-scrollbar,
.mp-ap-folder-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.mp-ap-modal-content::-webkit-scrollbar-track,
.mp-ap-folder-dropdown-list::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.mp-ap-modal-content::-webkit-scrollbar-thumb,
.mp-ap-folder-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.mp-ap-modal-content::-webkit-scrollbar-thumb:hover,
.mp-ap-folder-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 플레이스 추가 모달 768px 이하 */
@media (max-width: 768px) {
    .mp-ap-modal-overlay {
        padding: 0.75rem;
    }
    
    .mp-ap-modal-container {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .mp-ap-modal-header {
        padding: 1rem 1.25rem;
    }
    
    .mp-ap-modal-title {
        font-size: 1rem;
        gap: 0.375rem;
    }
    
    .mp-ap-modal-title i {
        font-size: 0.875rem;
    }
    
    .mp-ap-modal-close-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .mp-ap-modal-close-btn i {
        font-size: 0.8125rem;
    }
    
    .mp-ap-modal-content {
        padding: 1.25rem;
    }
    
    .mp-ap-modal-description {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }
    
    .mp-ap-url-input-section .mp-ap-input-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .mp-ap-url-input {
        padding: 0.6875rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .mp-ap-url-search-btn {
        padding: 0.6875rem 1rem;
        font-size: 0.8125rem;
        width: 100%;
    }
    
    .mp-ap-keyword-input-section .mp-ap-input-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .mp-ap-keyword-input {
        padding: 0.6875rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .mp-ap-keyword-search-btn {
        padding: 0.6875rem 1rem;
        font-size: 0.8125rem;
        width: 100%;
    }
    
    .mp-ap-loading-spinner i {
        font-size: 1.75rem;
        animation: spin 1s linear infinite;
    }
    
    .mp-ap-loading-text {
        font-size: 0.8125rem;
    }
    
    .mp-ap-folder-selection-section .mp-ap-input-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .mp-ap-folder-label {
        font-size: 0.8125rem;
    }
    
    .mp-ap-folder-dropdown-btn {
        padding: 0.6875rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .mp-ap-folder-option {
        padding: 0.6875rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .mp-ap-folder-dropdown-list {
        max-height: 180px;
    }
    
    .mp-ap-folder-search-btn {
        padding: 0.6875rem 1rem;
        font-size: 0.8125rem;
        width: 100%;
    }
}

/* 플레이스 추가 모달 480px 이하 */
@media (max-width: 480px) {
    .mp-ap-modal-overlay {
        padding: 0.5rem;
    }
    
    .mp-ap-modal-container {
        max-height: 98vh;
    }
    
    .mp-ap-modal-header {
        padding: 0.875rem 1rem;
    }
    
    .mp-ap-modal-title {
        font-size: 0.9375rem;
        gap: 0.375rem;
    }
    
    .mp-ap-modal-title i {
        font-size: 0.8125rem;
    }
    
    .mp-ap-modal-close-btn {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .mp-ap-modal-close-btn i {
        font-size: 0.75rem;
    }
    
    .mp-ap-modal-content {
        padding: 1rem;
    }
    
    .mp-ap-modal-description {
        font-size: 0.75rem;
        margin-bottom: 0.875rem;
        line-height: 1.4;
    }
    
    .mp-ap-url-input-section .mp-ap-input-row {
        gap: 0.625rem;
    }
    
    .mp-ap-url-input {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .mp-ap-url-search-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .mp-ap-keyword-input-section .mp-ap-input-row {
        gap: 0.625rem;
    }
    
    .mp-ap-keyword-input {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .mp-ap-keyword-search-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .mp-ap-loading-section {
        padding: 1.5rem 0.75rem;
    }
    
    .mp-ap-loading-spinner i {
        font-size: 1.5rem;
        animation: spin 1s linear infinite;
    }
    
    .mp-ap-loading-text {
        font-size: 0.75rem;
    }
    
    .mp-ap-folder-selection-section .mp-ap-input-row {
        gap: 0.625rem;
    }
    
    .mp-ap-folder-dropdown-container {
        gap: 0.375rem;
    }
    
    .mp-ap-folder-label {
        font-size: 0.75rem;
    }
    
    .mp-ap-folder-dropdown-btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .mp-ap-folder-dropdown-btn i {
        font-size: 0.6875rem;
    }
    
    .mp-ap-folder-option {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .mp-ap-folder-dropdown-list {
        max-height: 160px;
    }
    
    .mp-ap-folder-search-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
    }
}
