/* WA/TG Link Share — front-end styles */

.wtg-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 14px;
}
.wtg-notice-success { background: #e6f7ec; color: #1e7e34; border: 1px solid #b6e3c6; }
.wtg-notice-error   { background: #fdeaea; color: #b02a2a; border: 1px solid #f3c2c2; }

.wtg-submit-form {
	max-width: 520px;
	margin: 0 auto;
	background: #fff;
	padding: 24px;
	border-radius: 10px;
	box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.wtg-field { margin-bottom: 16px; }
.wtg-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.wtg-field input[type="text"],
.wtg-field input[type="url"],
.wtg-field select,
.wtg-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d6d6d6;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}
.wtg-hp-field { position: absolute; left: -9999px; top: -9999px; }
.wtg-submit-btn {
	background: #25d366;
	color: #fff;
	border: none;
	padding: 12px 22px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.wtg-submit-btn:hover { background: #1ebe5b; }
.wtg-note { font-size: 12px; color: #777; margin-top: 8px; }

.wtg-directory { margin: 20px 0; }
.wtg-filter-bar {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.wtg-filter-bar select,
.wtg-filter-bar input[type="text"] {
	padding: 8px 10px;
	border-radius: 6px;
	border: 1px solid #d6d6d6;
}
.wtg-filter-bar button {
	padding: 8px 16px;
	border-radius: 6px;
	border: none;
	background: #333;
	color: #fff;
	cursor: pointer;
}

.wtg-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
}
.wtg-cols-1 { grid-template-columns: 1fr; }
.wtg-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wtg-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 780px) {
	.wtg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.wtg-grid { grid-template-columns: 1fr; }
}

.wtg-card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.wtg-badge {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 20px;
	margin-bottom: 10px;
	color: #fff;
	background: #999;
}
.wtg-badge-whatsapp_group   { background: #25d366; }
.wtg-badge-whatsapp_channel { background: #128c7e; }
.wtg-badge-telegram_group   { background: #2aabee; }
.wtg-badge-telegram_channel { background: #0088cc; }

.wtg-card-title { margin: 0 0 8px; font-size: 17px; }
.wtg-card-desc { font-size: 13px; color: #555; flex-grow: 1; margin-bottom: 10px; }
.wtg-category {
	display: inline-block;
	font-size: 12px;
	background: #f2f2f2;
	color: #555;
	padding: 3px 10px;
	border-radius: 20px;
	margin-bottom: 12px;
	align-self: flex-start;
}
.wtg-join-btn {
	display: inline-block;
	text-align: center;
	background: #25d366;
	color: #fff !important;
	text-decoration: none;
	padding: 10px 0;
	border-radius: 6px;
	font-weight: 600;
	margin-bottom: 8px;
}
.wtg-join-btn:hover { background: #1ebe5b; }
.wtg-clicks { font-size: 11px; color: #999; text-align: center; }

.wtg-pagination { margin-top: 20px; text-align: center; }
.wtg-pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 3px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
}
.wtg-pagination .page-numbers.current { background: #333; color: #fff; }
.wtg-empty { text-align: center; color: #888; padding: 30px 0; }
