/*
 * Dropeego - Account Profile
 */


/* Main container */

.dropeego-account-profile {
	width: 100%;
	box-sizing: border-box;
}


/* Header */

.dropeego-profile-header {
	margin-bottom: 30px;
}

.dropeego-profile-header h2 {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
}

.dropeego-profile-header p {
	margin: 0;
	font-size: 14px;
	opacity: 0.7;
}


/* Sections */

.dropeego-profile-section {
	padding: 25px 0;
	border-bottom: 1px solid #e5e5e5;
}

.dropeego-profile-section:first-of-type {
	padding-top: 0;
}

.dropeego-profile-section h3 {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
}


/* Personal information grid */

.dropeego-profile-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
	width: 100%;
}


/* Information box */

.dropeego-profile-info-box {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	border: 1px solid #f5773e;
	border-radius: 5px;
	background: #fff;
	box-sizing: border-box;
	min-width: 0;
}


/* Label */

.dropeego-profile-label {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}


/* Value */

.dropeego-profile-value {
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.75;
	word-break: break-word;
	overflow-wrap: anywhere;
}


/* Address grid */

.dropeego-profile-address-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}


/* Address box */

.dropeego-profile-address-box {
	padding: 20px;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	background: #fff;
	box-sizing: border-box;
	min-width: 0;
}


/* Address title */

.dropeego-address-title {
	margin-bottom: 15px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e5e5;
}

.dropeego-address-title h4 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
}


/* Address content */

.dropeego-address-content {
	font-size: 14px;
	line-height: 1.7;
	word-break: break-word;
	overflow-wrap: anywhere;
}


/* No address */

.dropeego-no-address {
	font-size: 14px;
	opacity: 0.6;
}


/* Login and error messages */

.dropeego-profile-login,
.dropeego-profile-error {
	margin: 0;
	padding: 15px 18px;
	border-radius: 5px;
	background: #f5f5f5;
	font-size: 14px;
}


/* Mobile */

@media (max-width: 767px) {

	.dropeego-profile-header {
		margin-bottom: 25px;
	}

	.dropeego-profile-header h2 {
		font-size: 24px;
	}

	.dropeego-profile-header p {
		font-size: 13px;
	}

	.dropeego-profile-info-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.dropeego-profile-info-box {
		padding: 12px;
	}

	.dropeego-profile-label {
		font-size: 12px;
	}

	.dropeego-profile-value {
		font-size: 13px;
	}

	.dropeego-profile-address-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.dropeego-profile-address-box {
		padding: 14px;
	}

	.dropeego-address-title {
		margin-bottom: 10px;
		padding-bottom: 10px;
	}

	.dropeego-address-title h4 {
		font-size: 14px;
	}

	.dropeego-address-content {
		font-size: 13px;
		line-height: 1.6;
	}
}


/* Very small mobile */

@media (max-width: 400px) {

	.dropeego-profile-info-grid {
		gap: 8px;
	}

	.dropeego-profile-info-box {
		padding: 10px;
	}

	.dropeego-profile-value {
		font-size: 12px;
	}

	.dropeego-profile-address-grid {
		gap: 8px;
	}

	.dropeego-profile-address-box {
		padding: 10px;
	}

	.dropeego-address-title h4 {
		font-size: 13px;
	}

	.dropeego-address-content {
		font-size: 12px;
	}
}
