.ma-address-book-wrapper {
	margin-top: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ma-section {
	margin-bottom: 40px;
}

.ma-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	border-bottom: 2px solid #eee;
	padding-bottom: 10px;
}

.ma-section-title {
	font-size: 1.5em;
	font-weight: 600;
	margin: 15px 0;
	color: #23282d;
}

.ma-btn {
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.2s ease;
}

.ma-btn-primary {
	background: #000;
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
}

.ma-btn-primary:hover {
	background: #333;
}

/* Card Grid */
.ma-address-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	align-items: start;
}

.ma-address-card {
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	position: relative;
}

.ma-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.ma-card-actions {
	display: flex;
	gap: 5px;
	margin-bottom: 15px;
}

.ma-action-btn {
	flex: 1;
	text-align: center;
	padding: 10px 5px;
	background: #9d4d75;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 11px;
	border-radius: 4px;
	font-weight: 600;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ma-action-btn.delete {
	background: #9d4d75;
}

.ma-action-btn:hover {
	opacity: 0.8;
	color: #fff;
}

.ma-card-content {
	font-size: 14px;
	line-height: 1.6;
}

.ma-card-content strong {
	display: block;
	margin-top: 10px;
	color: #555;
	font-size: 12px;
	text-transform: uppercase;
}

.ma-card-content p {
	margin: 0 0 5px 0;
	color: #23282d;
}

/* Modal */
.ma-modal {
	display: none;
	position: fixed;
	z-index: 100000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
}

.ma-modal-content {
	background-color: #fff;
	margin: 5% auto;
	padding: 30px;
	border-radius: 12px;
	width: 500px;
	max-width: 90%;
	max-height: 85vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ma-modal-close {
	position: absolute;
	right: 20px;
	top: 15px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	color: #000;
}

.ma-modal-title {
	margin-top: 0;
	font-size: 1.4em;
	margin-bottom: 25px;
}

.ma-form-group {
	margin-bottom: 15px;
}

.ma-form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
}

.ma-form-group label span {
	color: red;
}

.ma-form-row {
	display: flex;
	gap: 15px;
}

.ma-form-row .ma-form-group {
	flex: 1;
}

.ma-modal-content input,
.ma-modal-content select {
	width: 100% !important;
	padding: 10px !important;
	border: 1px solid #ddd !important;
	border-radius: 4px !important;
	box-sizing: border-box !important;
	height: auto !important;
}

.ma-save-btn {
	width: 100% !important;
	padding: 15px !important;
	background: #000 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	font-weight: bold !important;
	font-size: 16px !important;
	cursor: pointer !important;
	margin-top: 10px !important;
	box-sizing: border-box !important;
}

.ma-save-btn:hover {
	background: #333;
}

.select2-container {
	z-index: 100001 !important;
}

.select2-dropdown {
	z-index: 100001 !important;
}

.ma-form-row .select2-container {
	width: 100% !important;
}