/* Cleaning Warehouse Delivery — My Account → Addresses */

.cwd-addresses {
	max-width: 760px;
}

.cwd-addresses__title {
	margin: 0 0 1em;
	font-size: 1.5em;
}

.cwd-addresses__section {
	margin-bottom: 1.5em;
}

.cwd-addresses__section--archived .cwd-address-card {
	opacity: 0.6;
}

.cwd-addresses__heading {
	display: flex;
	align-items: center;
	gap: 0.4em;
	margin: 0.5em 0;
	font-size: 1.05em;
	font-weight: 600;
	color: #444;
}

.cwd-addresses__star {
	color: #f4b400;
}

.cwd-addresses__empty {
	padding: 1em;
	background: #f8f8f8;
	border-left: 3px solid #ccc;
	color: #666;
}

.cwd-addresses__actions {
	display: flex;
	gap: 0.5em;
	margin-top: 1em;
}

.cwd-address-card {
	padding: 1em 1.2em;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	margin-bottom: 0.75em;
	background: #fff;
	transition: border-color 120ms ease;
}

.cwd-address-card:hover {
	border-color: #b3b3b3;
}

.cwd-address-card--default {
	border-color: #2271b1;
	border-left-width: 4px;
}

.cwd-address-card__header {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin-bottom: 0.4em;
}

.cwd-address-card__label {
	margin: 0;
	font-size: 1em;
	font-weight: 600;
}

.cwd-address-card__pill {
	display: inline-block;
	padding: 0.15em 0.55em;
	font-size: 0.72em;
	font-weight: 500;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cwd-address-card__pill--default {
	background: #e7f2ff;
	color: #2271b1;
}

.cwd-address-card__pill--wc {
	background: #f0f0f0;
	color: #555;
}

.cwd-address-card__pill--archived {
	background: #f3eded;
	color: #999;
}

.cwd-address-card__body {
	font-style: normal;
	color: #333;
	line-height: 1.45;
}

.cwd-address-card__phone {
	display: inline-block;
	margin-top: 0.3em;
	color: #555;
	font-size: 0.92em;
}

.cwd-address-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
	margin-top: 0.75em;
	padding-top: 0.5em;
	border-top: 1px dashed #efefef;
}

.cwd-btn {
	display: inline-block;
	border: none;
	background: none;
	padding: 0.2em 0.5em;
	cursor: pointer;
	font: inherit;
}

.cwd-btn--link {
	color: #2271b1;
	text-decoration: underline;
}

.cwd-btn--link:hover {
	color: #135e96;
}

.cwd-btn--danger {
	color: #b32d2e;
}

.cwd-btn--primary {
	background: #2271b1;
	color: #fff;
	padding: 0.4em 0.9em;
	border-radius: 3px;
	text-decoration: none;
}

.cwd-btn--primary:hover {
	background: #135e96;
}

.cwd-addresses__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75em;
	padding: 1em;
	margin-top: 0.75em;
	background: #fafafa;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
}

.cwd-addresses__form label {
	display: block;
	font-size: 0.9em;
	color: #555;
	margin-bottom: 0.2em;
}

.cwd-addresses__form input,
.cwd-addresses__form select,
.cwd-addresses__form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.4em;
}

.cwd-addresses__form--full {
	grid-column: 1 / -1;
}

.cwd-addresses__form-actions {
	grid-column: 1 / -1;
	display: flex;
	gap: 0.5em;
	justify-content: flex-end;
	margin-top: 0.4em;
}

@media (max-width: 600px) {
	.cwd-addresses__form {
		grid-template-columns: 1fr;
	}
	.cwd-address-card__actions {
		flex-direction: column;
		align-items: stretch;
	}
}
