/**
 * 우체국 EMS 요율 조회 스타일
 */

.ems-rate-checker-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ems-rate-checker-title {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.ems-rate-checker-form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.ems-form-group {
    margin-bottom: 20px;
}

.ems-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.ems-form-group select,
.ems-form-group input[type="number"],
.ems-form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.ems-form-group input[type="number"] {
    display: inline-block;
    width: calc(100% - 50px);
}

.ems-unit {
    display: inline-block;
    margin-left: 8px;
    color: #666;
}

.ems-dimensions {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.ems-dimension-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ems-dimension-inputs input {
    flex: 1;
    width: auto;
}

.ems-separator {
    color: #999;
    font-weight: bold;
}

.ems-volumetric-weight-result {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-weight: 500;
    color: #0066cc;
}

.ems-calculate-btn {
    width: 100%;
    padding: 12px 24px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.ems-calculate-btn:hover {
    background: #0052a3;
}

.ems-calculate-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.ems-rate-result {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #0066cc;
    margin-bottom: 30px;
}

.ems-rate-result h3 {
    margin-top: 0;
    color: #0066cc;
    font-size: 20px;
}

.ems-expected-rate {
    font-size: 24px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.ems-rate-details,
.ems-weight-info {
    margin-top: 20px;
}

.ems-rate-details h4,
.ems-weight-info h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.ems-rate-details ul,
.ems-weight-info ul {
    list-style: none;
    padding: 0;
}

.ems-rate-details li,
.ems-weight-info li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.ems-rate-details li:last-child,
.ems-weight-info li:last-child {
    border-bottom: none;
}

.ems-notice {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.ems-notice h4 {
    margin-top: 0;
    color: #856404;
}

.ems-notice ul {
    margin: 10px 0;
    padding-left: 20px;
}

.ems-notice li {
    margin-bottom: 8px;
    color: #856404;
    line-height: 1.6;
}

/* 로딩 상태 */
.ems-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* 에러 메시지 */
.ems-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    border-left: 4px solid #dc3545;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .ems-rate-checker-wrapper {
        padding: 15px;
    }
    
    .ems-dimension-inputs {
        flex-direction: column;
    }
    
    .ems-dimension-inputs input {
        width: 100%;
    }
    
    .ems-separator {
        display: none;
    }
}


