/**
 * Sayuswa CRM - Frontend Forms & Widgets Stylesheet
 */

/* ==========================================================================
   Newsletter Subscribe Widget
   ========================================================================== */
.sayuswa-crm-subscribe-widget {
	border-radius: 16px;
	padding: 32px;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	margin: 32px 0;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.crm-theme-dark {
	background: linear-gradient(135deg, #053C53 0%, #021B26 100%);
	color: #FFFFFF;
	border: 1px solid rgba(21, 232, 77, 0.35);
	box-shadow: 0 15px 35px rgba(5, 60, 83, 0.4);
}

.crm-theme-light {
	background: #F8FAFC;
	color: #0F172A;
	border: 1px solid #E2E8F0;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.crm-subscribe-inner {
	max-width: 900px;
	margin: 0 auto;
}

.crm-subscribe-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(21, 232, 77, 0.15);
	border: 1px solid rgba(21, 232, 77, 0.4);
	color: #15E84D;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
}

.crm-theme-light .crm-subscribe-badge {
	background: rgba(0, 168, 150, 0.1);
	border-color: #00A896;
	color: #00A896;
}

.pulse-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #15E84D;
	display: inline-block;
	box-shadow: 0 0 6px #15E84D;
}

.crm-subscribe-title {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.crm-theme-dark .crm-subscribe-title {
	color: #FFFFFF;
}

.crm-theme-light .crm-subscribe-title {
	color: #053C53;
}

.crm-subscribe-subtitle {
	font-size: 14px;
	margin: 0 0 20px 0;
	line-height: 1.5;
}

.crm-theme-dark .crm-subscribe-subtitle {
	color: #94A3B8;
}

.crm-theme-light .crm-subscribe-subtitle {
	color: #64748B;
}

.crm-form-fields-row {
	display: grid;
	grid-template-columns: 1fr 1.2fr 1fr auto;
	gap: 12px;
	align-items: center;
}

@media (max-width: 820px) {
	.crm-form-fields-row {
		grid-template-columns: 1fr;
	}
}

.crm-input-wrap {
	width: 100%;
}

.crm-field-input {
	width: 100% !important;
	padding: 12px 14px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	box-sizing: border-box !important;
	outline: none !important;
	transition: all 0.2s ease !important;
}

.crm-theme-dark .crm-field-input {
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	color: #FFFFFF !important;
}

.crm-theme-dark .crm-field-input::placeholder {
	color: #64748B;
}

.crm-theme-dark .crm-field-input:focus {
	border-color: #15E84D !important;
	background: rgba(255, 255, 255, 0.12) !important;
	box-shadow: 0 0 0 3px rgba(21, 232, 77, 0.2) !important;
}

.crm-theme-light .crm-field-input {
	background: #FFFFFF !important;
	border: 1px solid #CBD5E1 !important;
	color: #0F172A !important;
}

.crm-theme-light .crm-field-input:focus {
	border-color: #00A896 !important;
	box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15) !important;
}

.crm-submit-btn {
	background: linear-gradient(135deg, #00A896 0%, #053C53 100%);
	color: #FFFFFF;
	border: 1px solid rgba(21, 232, 77, 0.4);
	padding: 12px 22px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 4px 15px rgba(0, 168, 150, 0.3);
	transition: all 0.2s ease;
	height: 100%;
}

.crm-submit-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(21, 232, 77, 0.3);
}

.crm-subscribe-privacy {
	font-size: 11px;
	color: #64748B;
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* ==========================================================================
   Company Profile Box
   ========================================================================== */
.sayuswa-crm-compro-card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 32px;
	margin: 32px 0;
	box-shadow: 0 10px 30px rgba(5, 60, 83, 0.08);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.crm-compro-card-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 2px solid #F1F5F9;
}

.crm-compro-icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg, #053C53 0%, #00A896 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	flex-shrink: 0;
	box-shadow: 0 6px 16px rgba(5, 60, 83, 0.2);
}

.crm-compro-title {
	font-size: 20px;
	font-weight: 800;
	color: #053C53;
	margin: 0 0 4px 0;
}

.crm-compro-sub {
	font-size: 13px;
	color: #64748B;
	margin: 0;
	line-height: 1.5;
}

.crm-compro-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 680px) {
	.crm-compro-grid {
		grid-template-columns: 1fr;
	}
}

.crm-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #053C53;
	margin-bottom: 6px;
}

.crm-label .req {
	color: #EF4444;
}

.crm-select {
	background: #FFFFFF !important;
}

.crm-compro-btn {
	width: 100%;
	background: linear-gradient(135deg, #00A896 0%, #053C53 100%);
	color: #FFFFFF;
	border: none;
	padding: 14px 20px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(0, 168, 150, 0.3);
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.crm-compro-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(5, 60, 83, 0.35);
}

/* Feedback Box */
.crm-form-feedback {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

.crm-form-feedback.is-success {
	background: #D1FAE5;
	color: #065F46;
	border: 1px solid #10B981;
}

.crm-form-feedback.is-error {
	background: #FEE2E2;
	color: #991B1B;
	border: 1px solid #EF4444;
}
