/* Address Book - Extends profile-settings.css */
@import url('profile-settings.css');

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.address-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s;
}

.address-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.address-card.default {
    border-color: var(--primary-color);
    background: rgba(116, 34, 255, 0.02);
}

.default-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.address-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.address-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.address-details {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.address-details strong {
    display: block;
    margin-bottom: 4px;
}

.address-actions {
    display: flex;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .address-grid {
        grid-template-columns: 1fr;
    }

    .header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-row .btn {
        width: 100%;
    }
}
