/*
Theme Name: UnifiedCalc Astra Child
Description: Custom styles for UnifiedCalc, built on the Astra theme.
Author: UnifiedCalc
Template: astra
Version: 1.0.1
Text Domain: unifiedcalc-child
*/

.length-converter-wrapper select,
.weight-converter-wrapper select,
.volume-converter-wrapper select,
.area-converter-wrapper select,
.speed-converter-wrapper select,
select {
	width: 100%;
	padding: 12px 30px 12px 10px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.6;
	min-height: 48px;
	transition: border-color 0.3s;
	background: white;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	height: auto !important;
	box-sizing: border-box !important;
	vertical-align: middle;
}

.uc-tool-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin: 20px 0;
}

.uc-tool-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	color: #0f172a !important;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
	transition: transform .15s, box-shadow .15s, border-color .15s;
}

.uc-tool-card:hover,
.uc-tool-card:focus-visible {
	transform: translateY(-3px);
	border-color: #14b8a6;
	box-shadow: 0 10px 24px rgba(15, 118, 110, .15);
}

.uc-tool-icon {
	flex: 0 0 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	border-radius: 12px;
	background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
}

.uc-tool-text {
	min-width: 0;
}

.uc-tool-title {
	display: block;
	margin-bottom: 4px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: #0f766e;
}

.uc-tool-description {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: #64748b;
}

.addtoany_share_save_container {
	display: flex !important;
	justify-content: center !important;
}
