/**
 * TriggerNinja For Contact Form 7 - Admin Styles
 */

/* Platform Manager */
.tncf7-platforms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.tncf7-platform-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 20px;
	transition: all 0.3s ease;
}

.tncf7-platform-card:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tncf7-platform-card.enabled {
	border-color: #46b450;
	background: #f0f9f1;
}

.platform-header {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.platform-icon img {
	width: 48px;
	height: 48px;
	border-radius: 4px;
}

.platform-info h3 {
	margin: 0 0 5px 0;
	font-size: 16px;
}

.platform-info p {
	margin: 0;
	color: #666;
	font-size: 13px;
}

.platform-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

/* Form Metabox */
.tncf7-metabox {
	padding: 20px;
}

.tncf7-platform-section {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 15px;
	margin-bottom: 15px;
}

.tncf7-platform-section h3 {
	margin: 0 0 15px 0;
	font-size: 14px;
}

.tncf7-platform-fields {
	margin-top: 15px;
}

.tncf7-platform-fields table {
	width: 100%;
}

.tncf7-platform-fields th {
	width: 150px;
	text-align: left;
	padding: 10px 0;
	font-weight: 600;
}

.tncf7-platform-fields td {
	padding: 10px 0;
}

.tncf7-platform-fields select {
	width: 100%;
	max-width: 400px;
}

.required {
	color: #dc3232;
}

/* Logs */
.status-success {
	color: #46b450;
	font-weight: 600;
}

.status-error {
	color: #dc3232;
	font-weight: 600;
}

/* Admin Page */
.tncf7-admin-content {
	margin-top: 20px;
}

.tncf7-metabox-notice {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	padding: 15px;
	margin: 20px 0;
}
