/* Address link styles */

/* Address list and wrapper */
.mafwc-addresses-list {
    margin: 15px 0;
    display: block;
    visibility: visible;
}

/* Address grid */
.mafwc-address-grid {
    display: grid;
    gap: 15px;
    margin-top: 10px;
}

/* Design layout two styles (adapt as needed; current code appears to be for layout two, but renamed per request) */
.design_layout_two .mafwc-address-item {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
}

.design_layout_two .mafwc-address-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.design_layout_two .mafwc-address-details {
    flex: 1;
    line-height: 1.6;
}

.design_layout_two .edit-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.design_layout_two .edit-links .button {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.design_layout_two .mafwc-view.button {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid;
}

.design_layout_two .mafwc-use-this.button {
    background-color: #0073aa;
    color: #fff;
}

.design_layout_two .mafwc-manage.button {
    background-color: #000000;
    color: #fff;
}

.design_layout_two .mafwc-manage-panel {
    position: relative;
    background-color: #f9f9f9;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
}

.design_layout_two .mafwc-manage-close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 20px;
    color: #666;
    cursor: pointer;
}

.design_layout_two .mafwc-manage-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.design_layout_two .mafwc-manage-actions .button {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.design_layout_two .mafwc-edit.button {
    background-color: #0073aa;
    color: #fff;
}

.design_layout_two .mafwc-delete.button {
    background-color: #d63638;
    color: #fff;
}

.design_layout_two .mafwc-set-default.button {
    background-color: #2ea2cc;
    color: #fff;
}

/*
.woocommerce-MyAccount-content .mafwc-addresses-list .mafwc-address-grid .mafwc-address-content .edit-links{
    display:none;
}
*/

/* Responsive styles for layout */
@media screen and (max-width: 768px) {
    .design_layout_two .mafwc-address-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .design_layout_two .edit-links {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .design_layout_two .mafwc-manage-actions {
        flex-wrap: wrap;
    }
}

.design_layout_two .mafwc-address-item.mafwc-default-address {
    border-color: #0073aa;
    background-color: #f0f8ff;
}