.address-editor-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 15px rgba(139, 69, 19, 0.2);
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    overflow-y: auto;
}

.address-editor-sidebar.active {
    right: 0;
}

.address-editor-content {
    padding: 1.5rem;
}

.address-editor {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.1);
}

.address-editor h2 {
    color: #5c3c1d;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e8d5c4;
}

.address-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #7c5c3c;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 1px solid #e8d5c4;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #5c3c1d;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(139, 69, 19, 0.05);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #7c5c3c;
    box-shadow: 0 0 0 3px rgba(124, 92, 60, 0.1);
}

.region-selects {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.region-selects select {
    width: 100%;
    max-width: 100%;
    padding: 0.8rem;
    border: 1px solid #f0e0d0;
    border-radius: 4px;
    color: #5c3c1d;
    background-color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.address-actions {
    /* 修改地址卡片操作按钮容器样式 */
    .address-card .actions {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-top: 12px;
    }
    
    /* 调整按钮边距 */
    .address-card .btn-edit,
    .address-card .btn-delete {
        margin: 0;
    }
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.save-address,
.cancel-edit {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.save-address {
    background-color: #7c5c3c;
    color: #fff;
}

.save-address:hover {
    background-color: #5c3c1d;
}

.cancel-edit {
    background-color: #f5e6d3;
    color: #7c5c3c;
}

.cancel-edit:hover {
    background-color: #e8d5c4;
}

.address-selectors {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.address-selectors > select {
    width: 100% !important;
    margin: 8px 0 !important;
    height: 40px;
    box-sizing: border-box;
}

.default-address-container {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 15px 0 0;
    padding: 12px 0;
}