.image-preview-area img.color-picker-active,
.image-preview-area canvas.color-picker-active {
    cursor: url("../../images/eyedropper.svg") 12 12, auto,
    crosshair;
}
.image-preview-area {
    margin-top: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background-color: #f7f7f7;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    overflow: hidden;
}

.image-preview-area img,
.image-preview-area canvas {
    max-width: 100%;
    max-height: 500px;
    display: block;
    object-fit: contain;
}

.color-display-box {
    width: 240px;
    justify-self: center;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    font-weight: bold;
    color: mediumpurple;
    z-index: 10;
    flex-wrap: wrap;
    gap: 10px;
}


.selected-color-swatch {
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#click-instruction {
    margin-right: 15px;
    color: #888;
    font-style: italic;

    margin-left: 15px;
}

.recommendations-section {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: auto;
}

.recommendations-section h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: mediumpurple;
    border-left: 4px solid rgb(100, 55, 190);
    padding-left: 15px;
}

.recommendations-section .product-card {
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 15px;
    height: 300px;
    width: 240px;
    position: relative;
}

.wave-loader {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    height: 20vh;
    padding-bottom: 50px;
}

.wave-bar {
    height: 140px;
    width: 20px;
    background-color: mediumpurple;
    border-radius: 4px;
    animation: wave 1s infinite ease-in-out;
    background: linear-gradient(to bottom, #d291bc, #9c62c3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wave-bar:nth-child(1) {
    animation-delay: 0s;
}

.wave-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.wave-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.wave-bar:nth-child(4) {
    animation-delay: 0.3s;
}

.wave-bar:nth-child(5) {
    animation-delay: 0.4s;
}

.wave-bar:nth-child(6) {
    animation-delay: 0.5s;
}

@keyframes wave {

    0%,
    100% {
        transform: scale(0.7);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}


/* 동적 추천 제품 영역 스타일 */
.recommendations-section {
    margin-top: 40px;
}

.recommendations-section h3 {
    text-align: center;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 추천 슬롯 컨테이너 */
.recommendation-slots {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

/* 개별 추천 슬롯 */
.recommendation-slot {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.recommendation-slot:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* 슬롯 헤더 */
.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.slot-header h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.product-count {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
}

/* 카테고리별 박스 */
.category-box {
    margin-top: 0;
    padding: 0;
    background: transparent;
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    max-height: none;
    padding-bottom: 8px;
}

/* 빈 상태 스타일 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state p {
    font-size: 0.9em;
    margin: 0;
    line-height: 1.4;
}

/* 기존 recommendation-box 스타일 (하위 호환성) */
.recommendation-box {
    margin-top: 30px;
    padding: 20px;
    background: white;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.recommendation-box:empty {
    display: none;
}

/* 카테고리별 제품 카드 */
.category-box .product-card {
    background: white;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 160px;
    position: relative;
    min-width: 220px;
    max-width: 280px;
    flex-shrink: 0;
}

.category-box .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.category-box .product-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.category-box .product-card .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-box .product-card .brand {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    margin-bottom: 2px;
}

.category-box .product-card .name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    margin-bottom: 4px;
    word-break: keep-all;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-box .product-card .price {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-top: auto;
}

.category-box .product-card .button-container {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.category-box .product-card .recommendation-button {
    flex: 1;
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.category-box .product-card .view-detail-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.category-box .product-card .view-detail-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-1px);
}

.category-box .product-card .recommendation-button:not(.view-detail-btn) {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
}

.category-box .product-card .recommendation-button:not(.view-detail-btn):hover {
    background: #e9ecef;
    border-color: #667eea;
}

/* 카테고리별 카드의 좋아요 버튼 스타일 */
.category-box .product-card .like-button {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid mediumpurple;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 10px;
}

.category-box .product-card .like-button:hover {
    background: mediumpurple;
    color: white;
    transform: scale(1.1);
}

.category-box .product-card .like-button.liked {
    background: mediumpurple;
    color: white;
    animation: heartBeat 0.6s ease-in-out;
}

.category-box .product-card .like-count {
    position: absolute;
    top: 6px;
    right: 34px;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    border-radius: 8px;
    padding: 1px 5px;
    font-size: 9px;
    font-weight: 600;
    min-width: 14px;
    text-align: center;
    z-index: 9;
    display: none;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.category-box .product-card .like-count:hover {
    transform: scale(1.05);
}

/* 좋아요 버튼 애니메이션 */
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 기존 recommendation-box 제품 카드 스타일 (하위 호환성) */
.recommendation-box .product-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-shrink: 0;
    min-width: 250px;
    max-width: 300px;
    flex-direction: column;
    height: 100%;
    min-height: 160px;
    position: relative;
}

.recommendation-box .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.recommendation-box .product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.recommendation-box .product-card .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.recommendation-box .product-card .brand {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 2px;
}

.recommendation-box .product-card .name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    margin-bottom: 5px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.recommendation-box .product-card .price {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-top: auto;
}

/*----------여기 위로 style.css에서 가져온거임---------------*/

.my-item-recommendation-container {
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.search-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.search-section h2 {
    margin-top: 0;
    font-size: 1.8em;
    color: mediumpurple;
    margin-bottom: 10px;
}

.search-section p {
    font-size: 1em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.search-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input-group input[type="text"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.1em;
}

.search-input-group button {
    padding: 12px 20px;
    background-color: darkslategray;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-input-group button:hover {
    background-color: darkgray;
}

.separator {
    text-align: center;
    color: #aaa;
    margin: 20px 0;
    position: relative;
}

.separator::before,
.separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #eee;
}

.separator::before {
    left: 0;
}

.separator::after {
    right: 0;
}

.image-upload-area {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.image-upload-area:hover {
    background-color: #e5e5e5;
    border-color: #b0b0b0;
}

.image-upload-area label {
    display: inline-flex;
    align-items: center;
    color: #555;
    gap: 8px;
    padding: 4px 10px;

    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.image-upload-area input[type="file"] {
    display: none;
}

.image-upload-area .upload-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.search-results-section {
    margin-top: 40px;
}

.search-results-section h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 15px;
    position: relative;
}

.product-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.product-info {
    flex-grow: 1;
}

.product-info .brand {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 5px;
}

.product-info .name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.product-info .price {
    font-size: 0.95em;
    color: #555;
}

.product-card .tag {
    display: inline-block;
    background-color: #eee;
    color: #666;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.8em;
    margin-left: 8px;
}

.recommendation-button {
    background-color: darkslategrey;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-left: auto;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.recommendation-button:hover {
    background-color: darkgray;
    text-decoration: none;
}



/* 새로운 레이아웃 스타일 */
.main-content-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.upload-section {
    flex: 1;
    min-width: 400px;
}

.matrix-section {
    flex: 1;
    min-width: 600px;
}

.color-matrix-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: linear-gradient(to bottom right,
            #f8f0ff,
            #e0efff,
            #ffe0f0,
            #fff8e0);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: visible;
    border: 1px solid #ddd;
    min-width: 600px;
}

.search-input-group {
    display: flex;
    max-width: 400px;
    margin: 0 auto 15px;
    gap: 10px;
}

.search-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.search-input-group button {
    padding: 12px 20px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}

.search-input-group button:hover {
    background: #ff5252;
}

.separator {
    margin: 15px 0;
    font-size: 12px;
    opacity: 0.8;
}

.upload-icon {
    font-size: 18px;
}

.image-preview-area {
    margin-top: 20px;
    text-align: center;
    height: 220px;
}

.image-preview-area img,
.image-preview-area canvas {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.selected-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.analyze-button {
    padding: 8px 16px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.3s;
}

.analyze-button:hover {
    background: #ff5252;
}

/* 추천 제품 섹션 스타일 */

.product-card {
    background: white;
    border-radius: 15px;
    padding: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.tag {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.name {
    font-size: 1em;
    font-weight: 500;
    color: #555;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.price {
    font-size: 1.1em;
    font-weight: 700;
    color: #333;
    margin-top: auto;
}

.recommendation-button {
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.recommendation-button:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .main-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .upload-section,
    .matrix-section {
        min-width: auto;
    }

}

@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .recommendation-box {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .color-matrix-container {
        height: 400px;
    }
    
    /* 모바일에서 추천 슬롯 스타일 조정 */
    .recommendation-slots {
        gap: 15px;
    }
    
    .recommendation-slot {
        padding: 15px;
    }
    
    .category-box .product-card {
        min-height: 180px;
        min-width: 200px;
    }
    
    .category-box .product-card img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .recommendation-slot {
        padding: 12px;
    }
    
    .slot-header h4 {
        font-size: 1.1em;
    }
    
    .category-box .product-card {
        padding: 12px;
        min-height: 160px;
        min-width: 180px;
    }
    
    .category-box .product-card img {
        height: 90px;
    }
    
    .main-content-wrapper {
        padding: 15px 10px;
        gap: 15px;
    }
    
    .upload-section,
    .matrix-section {
        padding: 15px;
    }
    
    .color-display-box {
        width: 200px;
        padding: 8px 12px;
        font-size: 1em;
    }
    
    .selected-color-swatch {
        width: 25px;
        height: 25px;
    }
    
    .recommendations-section {
        margin-top: 30px;
        padding: 20px 15px;
    }
    
    .recommendations-section h3 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    
    .search-input-group input {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .search-input-group button {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .main-content-wrapper {
        padding: 10px 8px;
        gap: 12px;
    }
    
    .upload-section,
    .matrix-section {
        padding: 12px;
    }
    
    .color-display-box {
        width: 180px;
        padding: 6px 10px;
        font-size: 0.9em;
    }
    
    .selected-color-swatch {
        width: 22px;
        height: 22px;
    }
    
    .recommendations-section {
        margin-top: 25px;
        padding: 15px 12px;
    }
    
    .recommendations-section h3 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    
    .search-input-group input {
        padding: 6px 8px;
        font-size: 13px;
    }
    
    .search-input-group button {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .category-box .product-card {
        padding: 10px;
        min-height: 140px;
        min-width: 160px;
    }
    
    .category-box .product-card img {
        height: 80px;
    }
    
    .slot-header h4 {
        font-size: 1em;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .recommendation-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

.quadrant-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    z-index: 1;
}

.quadrant {
    border: 1px dashed rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.axis-label {
    position: absolute;
    font-weight: bold;
    color: #777;
    font-size: 0.9em;
    z-index: 5;
}

.top-label {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-label {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.left-label {
    left: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}

.right-label {
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

.makeup-products-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    min-width: 600px;
}

.product-circle {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.7em;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
    user-select: none;
}

.product-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 1);
}

.product-circle.selected {
    outline: 3px solid mediumpurple;
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.6);
}

.mood-selection-area {
    position: absolute;
    border: 2px dashed #8a2be2;
    background-color: rgba(138, 43, 226, 0.1);
    cursor: grab;
    z-index: 3;
    min-width: 50px;
    min-height: 50px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border 0.1s ease, background-color 0.1s ease;
}

.mood-selection-area:active {
    cursor: grabbing;
}

.mood-label {
    background-color: rgba(138, 43, 226, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.8em;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.resizer {
    width: 12px;
    height: 12px;
    background-color: #8a2be2;
    border: 1px solid white;
    position: absolute;
    border-radius: 50%;
    cursor: nwse-resize;
    z-index: 4;
}

.resizer.top-left-resizer {
    top: -6px;
    left: -6px;
    cursor: nwse-resize;
}

.resizer.top-right-resizer {
    top: -6px;
    right: -6px;
    cursor: nesw-resize;
}

.resizer.bottom-left-resizer {
    bottom: -6px;
    left: -6px;
    cursor: nesw-resize;
}

.resizer.bottom-right-resizer {
    bottom: -6px;
    right: -6px;
    cursor: nwse-resize;
}

/*검색 결과 드롭다운박스용 css*/
.search-results-box {
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    width: 300px;
    margin-top: 5px;
    z-index: 100;
    display: none;
    /* 처음에는 숨김 */
}

.search-results-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results-box li {
    padding: 8px 12px;
    cursor: pointer;
    color: #333;
}

.search-results-box li:hover {
    background-color: #f0f0f0;
}
