.phone-input-group {
	position: relative;
	display: flex;
	align-items: stretch;
}

.phone-country-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 22px 0 10px;
	border: 1px solid #ccc;
	border-right: none;
	border-radius: 8px 0 0 8px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
	white-space: nowrap;
}

.phone-country-toggle:focus {
	outline: none;
	border-color: #0d6efd;
}

.phone-country-flag {
	width: 20px;
	height: 14px;
	object-fit: cover;
	border-radius: 2px;
	flex-shrink: 0;
	background: #eee;
}

.phone-country-chevron {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	color: #666;
	font-style: normal;
	pointer-events: none;
}

.phone-local-input.form-control {
	border-radius: 0 8px 8px 0 !important;
	flex: 1;
	min-width: 0;
}

.phone-country-dropdown {
	position: fixed;
	z-index: 10050;
	width: 280px;
	max-height: 320px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	display: none;
	flex-direction: column;
}

.phone-country-dropdown.is-open {
	display: flex;
}

.phone-country-search-wrap {
	padding: 8px;
	border-bottom: 1px solid #eee;
	flex-shrink: 0;
}

.phone-country-search {
	width: 100%;
	height: 34px;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 0 10px;
	font-size: 13px;
	outline: none;
}

.phone-country-search:focus {
	border-color: #0d6efd;
}

.phone-country-list {
	overflow-y: auto;
	padding: 4px 0;
}

.phone-country-option {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	border: none;
	background: none;
	padding: 8px 12px;
	text-align: left;
	font-size: 13px;
	cursor: pointer;
}

.phone-country-option:hover,
.phone-country-option.is-active {
	background: #f1f5ff;
}

.phone-country-option img {
	width: 20px;
	height: 14px;
	object-fit: cover;
	border-radius: 2px;
	flex-shrink: 0;
	background: #eee;
}

.phone-country-option .phone-country-option-code {
	font-weight: 700;
	min-width: 55px;
	flex-shrink: 0;
}

.phone-country-option .phone-country-option-name {
	color: #444;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.phone-country-empty {
	padding: 16px;
	text-align: center;
	color: #888;
	font-size: 13px;
}
