/**
 * Smart Shipping Estimate v4 - Olive Young Minimal Style
 * 올리브영 원본 스타일 (미니멀, 텍스트 기반)
 */

/* 컨테이너 */
.sse-container {
    margin: 16px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 로딩 상태 */
.sse-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: #666;
    font-size: 14px;
}

.sse-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e0e0e0;
    border-top-color: #333;
    border-radius: 50%;
    animation: sse-spin 0.7s linear infinite;
}

@keyframes sse-spin {
    to { transform: rotate(360deg); }
}

/* 메인 박스 - 미니멀 */
.sse-box {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fff;
}

/* 각 행 */
.sse-row {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.sse-row + .sse-row {
    margin-top: 6px;
}

/* 헤더 행: Deliver to + 버튼 */
.sse-row-header {
    font-size: 15px;
}

.sse-row-header strong {
    font-weight: 600;
}

/* 변경 버튼 - 국가명 옆 */
.sse-change-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0 6px;
    margin-left: 4px;
    transition: color 0.2s;
}

.sse-change-btn:hover {
    color: #333;
}

/* 배송일 행 */
.sse-row-delivery {
    color: #555;
}

.sse-row-delivery strong {
    color: #333;
    font-weight: 600;
}

/* 무료배송 행 */
.sse-row-free {
    color: #555;
}

.sse-free-text {
    color: #2e7d32;
    font-weight: 500;
}

.sse-row-free strong {
    color: #333;
    font-weight: 600;
}

/* No extra fees 행 */
.sse-row-extra {
    color: #555;
}

.sse-check {
    color: #2e7d32;
    font-weight: 600;
    margin-right: 2px;
}

/* 국가 선택 드롭다운 */
.sse-selector {
    display: none;
    margin-top: 10px;
}

.sse-selector.active {
    display: block;
}

.sse-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}

.sse-select:focus {
    outline: none;
    border-color: #333;
}

/* 에러 */
.sse-error {
    padding: 12px 0;
    color: #666;
    font-size: 14px;
}

/* 반응형 */
@media (max-width: 480px) {
    .sse-box {
        padding: 12px 14px;
    }
    
    .sse-row {
        font-size: 13px;
    }
    
    .sse-row-header {
        font-size: 14px;
    }
}