/* 地址选择弹窗样式 */

.address-item {
    position: relative;
    padding: 16px;
    margin-bottom: 12px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-item:hover {
    border-color: #c61f0d;
    background: #fff9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 31, 13, 0.1);
}

.address-item.selected {
    border-color: #c61f0d;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    box-shadow: 0 4px 16px rgba(198, 31, 13, 0.2);
}

.address-item.default-address {
    border-color: #ff9800;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.address-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.receiver-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.receiver-phone {
    font-size: 14px;
    color: #666;
}

.default-badge {
    padding: 4px 12px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    font-size: 12px;
    border-radius: 12px;
    font-weight: 500;
}

.address-detail {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    padding-right: 30px;
}

.address-check {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.address-check i {
    font-size: 24px;
    color: #c61f0d;
}

.address-item.selected .address-check {
    opacity: 1;
    transform: scale(1.2);
}

/* 空状态样式 */
#addressListContainer:empty::before {
    content: '正在加载...';
    display: block;
    text-align: center;
    padding: 40px 0;
    color: #999;
}
