/**
 * Phone Dropdown Button Styles
 */

.phytest-phone-dropdown-wrapper {
	position: relative;
	display: inline-block;
}

.phytest-phone-dropdown-button {
	width: 52px;
	height: 52px;
	background-color: #fbf6fe;
	border: none;
	border-top-left-radius: 12px;
	border-bottom-right-radius: 12px;
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 32px;
	cursor: pointer;
	opacity: 1;
	transition: all 0.3s ease;
}

.phytest-phone-dropdown-button:hover {
	background: #ECDCF7;
	transform: translateY(-2px);
}

.phytest-phone-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.phytest-phone-icon svg {
	width: 24px;
	height: 24px;
}

/* Dropdown Menu */
.phytest-phone-dropdown-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 200px;
	background: #ffffff;
	border: 1px solid #EDEDED;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	list-style: none;
	margin: 0;
	padding: 0 !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
}

.phytest-phone-dropdown-wrapper:hover .phytest-phone-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.phytest-phone-dropdown-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.phytest-phone-link {
	display: block;
	padding: 12px 20px;
	color: #363636;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.phytest-phone-link:hover {
	background: #F7EFFC;
	color: #682B88;
	text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.phytest-phone-dropdown-button {
		width: 48px;
		height: 48px;
	}

	.phytest-phone-icon svg {
		width: 20px;
		height: 20px;
	}

	.phytest-phone-dropdown-menu {
		min-width: 180px;
		right: auto;
		left: 0;
	}

	.phytest-phone-link {
		padding: 10px 16px;
		font-size: 14px;
	}
}

/* Touch device support - tap instead of hover */
@media (hover: none) and (pointer: coarse) {
	.phytest-phone-dropdown-wrapper:active .phytest-phone-dropdown-menu,
	.phytest-phone-dropdown-button:focus + .phytest-phone-dropdown-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

