/* ProfitLo Tools — frontend styles */

.profitlo-tool-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 24px 16px 60px;
}

.profitlo-tool-header h1 {
	font-size: 1.8rem;
	margin-bottom: 8px;
}

.profitlo-tool-intro {
	color: #555;
	margin-bottom: 24px;
}

.profitlo-tool {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.profitlo-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.profitlo-form label {
	font-weight: 600;
	font-size: 0.9rem;
}

.profitlo-form input,
.profitlo-form select {
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	width: 100%;
}

.profitlo-date-row {
	display: flex;
	gap: 8px;
}

.profitlo-btn {
	margin-top: 6px;
	padding: 12px 16px;
	border: none;
	border-radius: 6px;
	background: #2563eb;
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.15s ease;
}

.profitlo-btn:hover {
	background: #1d4ed8;
}

.profitlo-result {
	margin-top: 16px;
	padding: 14px;
	border-radius: 6px;
	background: #f5f7fb;
	font-size: 1rem;
	min-height: 20px;
}

.profitlo-result:empty {
	display: none;
}

.profitlo-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.profitlo-tab {
	flex: 1;
	padding: 10px;
	border: 1px solid #ccc;
	background: #f5f5f5;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
}

.profitlo-tab.active {
	background: #2563eb;
	color: #fff;
	border-color: #2563eb;
}

.profitlo-faq {
	margin-top: 32px;
}

.profitlo-faq-item {
	margin-bottom: 16px;
}

.profitlo-faq-item h3 {
	font-size: 1.05rem;
	margin-bottom: 4px;
}

/* Tool grid (homepage / All Tools page shortcode) */
.profitlo-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.profitlo-tool-card {
	display: block;
	padding: 16px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow 0.15s ease;
}

.profitlo-tool-card:hover {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.profitlo-tool-card h3 {
	margin: 0 0 6px;
	font-size: 1.1rem;
}

.profitlo-tool-card p {
	margin: 0;
	font-size: 0.9rem;
	color: #666;
}

@media (max-width: 480px) {
	.profitlo-date-row {
		flex-direction: column;
	}
}
