/**
 * Yaraa AI Deploy Page Styles.
 *
 * @package    Yaraa_AI_Sales_Agent.
 * @subpackage Yaraa_AI_Sales_Agent/admin/css.
 */

/* Deploy Page Styles. */
.yaraa-deploy-page {
	max-width: 1200px;
}

.yaraa-deploy-page h1 {
	font-size: 24px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.yaraa-deploy-page h1 .dashicons {
	color: #6366f1;
}

/* Tabs. */
.yaraa-tabs {
	margin-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}

.yaraa-tabs .nav-tab {
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	color: #64748b;
	margin-bottom: -1px;
}

.yaraa-tabs .nav-tab:hover {
	background: transparent;
	color: #6366f1;
}

.yaraa-tabs .nav-tab-active {
	background: transparent;
	border-bottom-color: #6366f1;
	color: #6366f1;
}

/* Alert. */
.yaraa-alert {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.yaraa-alert-info {
	background: #eff6ff;
	color: #1e40af;
	border: 1px solid #bfdbfe;
}

.yaraa-alert .dashicons {
	flex-shrink: 0;
}

/* Card. */
.yaraa-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.yaraa-card-header {
	padding: 16px 20px;
	border-bottom: 1px solid #f1f5f9;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.yaraa-card-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	display: flex;
	align-items: center;
	gap: 8px;
}

.yaraa-card-header h3 .dashicons {
	color: #6366f1;
}

.yaraa-card-body {
	padding: 20px;
}

.yaraa-btn-icon:hover {
	border-color: #6366f1;
	background: #f5f3ff;
}

.yaraa-btn-icon .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #64748b;
}

.yaraa-btn-icon:hover .dashicons {
	color: #6366f1;
}

/* Deployment Status. */
.yaraa-deployment-status-card {
	margin-bottom: 20px;
}

.yaraa-deployment-status {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: #f8fafc;
	border-radius: 8px;
}

.yaraa-status-indicator {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.yaraa-status-indicator.status-deployed {
	background: #10b981;
	color: #fff;
}

.yaraa-status-indicator.status-not-deployed {
	background: #ef4444;
	color: #fff;
}

#deploymentStatusIcon {
	background: #ef4444;
	color: #fff;
}

#deploymentStatusIcon.deployed {
	background: #10b981;
}

.status-text {
	font-weight: 500;
}

.status-text.status-deployed {
	color: #10b981;
}

.status-text.status-not-deployed {
	color: #ef4444;
}

/* Notice. */
.yaraa-notice {
	background: #fff;
	border-left: 4px solid #dba617;
	padding: 12px 16px;
	margin-bottom: 20px;
	border-radius: 4px;
}

@media (max-width: 768px) {

	.yaraa-deployment-status {
		flex-wrap: wrap;
	}

}

@media (max-width: 385px) {

	.yaraa-deployment-status {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.yaraa-deployment-status button {
		width: 100%;
	}

	.yaraa-deployment-status label {
		text-align: left;
		white-space: normal;
	}

	#deploymentStatusText {
		font-size: 0.9rem;
	}
}