/* ================================
   USER ADDRESSES WRAPPER
================================ */
.ua-addresses {
    max-width: 900px;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* ================================
   ADDRESS LIST
================================ */
.ua-address-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.ua-address-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.ua-address-list span {
    flex: 1 1 60%;
    font-size: 15px;
    color: #333;
}

/* ================================
   BUTTONS
================================ */
.ua-address-list button {
    background: #f2f2f2;
    border: none;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}

.ua-address-list button:hover {
    background: #e0e0e0;
}

/* ================================
   DEFAULT BADGES
================================ */
.ua-badge {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 600;
}

.ua-badge.billing {
    background: #e6f0ff;
    color: #1a56db;
}

.ua-badge.shipping {
    background: #e6f9f0;
    color: #047857;
}

/* ================================
   FORM
================================ */
.ua-form {
    margin-top: 20px;
}

.ua-form input,
.ua-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* ================================
   GRID LAYOUT
================================ */
.ua-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.ua-grid input[name="billing_address_1"],
.ua-grid input[name="billing_city"],
.ua-grid select[name="billing_country"],
.ua-grid select[name="billing_state"] {
    grid-column: span 2;
}

/* ================================
   SUBMIT BUTTON
================================ */
.ua-form button {
    background: #1a56db;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.ua-form button:hover {
    background: #143fa3;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 600px) {

    .ua-grid {
        grid-template-columns: 1fr;
    }

    .ua-address-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .ua-address-list span {
        width: 100%;
    }
}
