/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.chat-thread {
	max-height: 68vh;
	min-height: 520px;
	overflow-y: auto;
	padding: 1rem;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.45), transparent 26%),
		linear-gradient(180deg, #eef4fb 0%, #e7f0f8 100%);
	border-radius: 0.5rem;
}

.conversation-page-shell {
	max-width: 1380px;
	margin: 0 auto;
}

.conversation-layout {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
}

.conversation-sidebar,
.conversation-main {
	min-width: 0;
}

.conversation-profile-card,
.conversation-thread-card,
.conversation-composer-card {
	border: 1px solid #dbe5ef;
	box-shadow: 0 10px 30px rgba(33, 57, 86, 0.08);
}

.conversation-profile-header,
.conversation-thread-contact {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.conversation-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #d7f1df 0%, #a7d9ba 100%);
	color: #153826;
	font-weight: 700;
	font-size: 1.1rem;
	box-shadow: inset 0 0 0 1px rgba(21, 56, 38, 0.08);
}

.conversation-avatar-sm {
	width: 42px;
	height: 42px;
	font-size: 0.95rem;
}

.conversation-contact-name {
	font-size: 1rem;
	font-weight: 700;
	color: #172b45;
	line-height: 1.2;
}

.conversation-contact-phone {
	font-size: 0.88rem;
	color: #61748d;
	margin-top: 0.15rem;
}

.conversation-profile-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	font-size: 0.93rem;
}

.conversation-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	color: #6d7f94;
	margin-bottom: 0.2rem;
}

.conversation-extra {
	padding-top: 0.9rem;
	border-top: 1px solid #e5ecf4;
	font-size: 0.92rem;
	color: #29415d;
}

.conversation-thread-header {
	background: linear-gradient(180deg, #fdfefe 0%, #f4f8fb 100%);
	border-bottom: 1px solid #dce6f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.conversation-summary-button {
	cursor: pointer;
	list-style: none;
}

.chat-row {
	display: flex;
	margin-bottom: 0.9rem;
}

.chat-row-inbound {
	justify-content: flex-start;
}

.chat-row-outbound {
	justify-content: flex-end;
}

.chat-bubble {
	max-width: min(72%, 720px);
	padding: 0.8rem 0.9rem;
	border-radius: 1rem;
	box-shadow: 0 6px 14px rgba(21, 37, 63, 0.08);
}

.chat-bubble-inbound {
	background: #dcf8c6;
	border: 1px solid #c6e9ad;
	border-top-left-radius: 0.3rem;
}

.chat-bubble-outbound {
	background: #e8f1ff;
	border: 1px solid #c5dbff;
	border-top-right-radius: 0.3rem;
}

.chat-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	font-size: 0.76rem;
	margin-bottom: 0.45rem;
	color: #607286;
}

.chat-body {
	font-size: 0.95rem;
	white-space: normal;
	line-height: 1.45;
	color: #1c2d3f;
}

.chat-submeta {
	margin-top: 0.5rem;
	padding-top: 0.45rem;
	border-top: 1px solid rgba(120, 142, 166, 0.16);
}

.conversation-composer-card .card-body {
	background: #fbfdff;
}

@media (max-width: 991.98px) {
	.conversation-layout {
		grid-template-columns: 1fr;
	}

	.chat-thread {
		min-height: 420px;
		max-height: 62vh;
	}

	.chat-bubble {
		max-width: 88%;
	}
}

.chat-media-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.1rem;
	height: 1.2rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: #e8edf5;
	color: #274063;
	border: 1px solid #ced8e6;
	line-height: 1;
}

.chat-media-image {
	background: #e8f4ff;
	border-color: #c9dff8;
	color: #1f4d80;
}

.chat-media-audio {
	background: #e8fbf2;
	border-color: #bfe8d2;
	color: #1c6b4d;
}

.chat-media-video {
	background: #fff4e8;
	border-color: #f2d6b3;
	color: #8a4c10;
}

.chat-media-document {
	background: #f1edff;
	border-color: #d8cff8;
	color: #4b3e8f;
}

.chat-media-sticker {
	background: #fef3eb;
	border-color: #f6d7c4;
	color: #7f3f13;
}

.chat-toast {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 1080;
	min-width: 220px;
	max-width: 320px;
	padding: 0.75rem 0.85rem;
	border-radius: 0.65rem;
	border: 1px solid #bcd5ff;
	background: #f5f9ff;
	box-shadow: 0 8px 20px rgba(18, 43, 77, 0.18);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-toast-visible {
	opacity: 1;
	transform: translateY(0);
}

.chat-toast-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f3e63;
	margin-bottom: 0.5rem;
}

.chat-toast-button {
	border: 1px solid #9fc2fb;
	background: #ffffff;
	color: #1f4d80;
	border-radius: 0.45rem;
	padding: 0.3rem 0.55rem;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
}

.chat-toast-button:hover {
	background: #ecf4ff;
}

.app-footer {
	padding: 0.9rem 1rem;
	border-top: 1px solid #dce2eb;
}

.app-footer-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.95rem;
}

.app-footer-copy {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	justify-self: start;
}

.app-footer-brand-logo {
	width: 32px;
	height: auto;
	display: block;
}

.app-footer-trademark {
	color: #2f3f5a;
}

.app-footer-links {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	justify-self: center;
}

.app-footer-links a {
	white-space: nowrap;
}

.app-footer-developed-by {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	justify-self: end;
	white-space: nowrap;
}

.app-brand-block {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	line-height: 1.2;
}

.app-header {
	background: #ffffff;
	border-bottom: 1px solid #dce2eb;
}

.app-header .container-xl {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
}

.app-brand-title {
	display: flex;
	align-items: center;
}

.app-brand-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	text-align: left;
}

.app-brand-logo {
	height: 36px;
	width: auto;
	display: block;
}

.app-brand-subtitle {
	font-size: 0.8rem;
	color: #5f6f86;
}

.app-brand-description {
	font-size: 0.74rem;
	color: #8090a6;
}

.account-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.6rem;
	background: #f7f9fc;
	border: 1px solid #d8e0ec;
	border-radius: 999px;
}

.account-chip-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background: #305aa6;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.account-chip-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.account-chip-name {
	font-size: 0.8rem;
	font-weight: 600;
	color: #1f2a44;
}

.account-chip-role {
	font-size: 0.7rem;
	color: #4b5f7f;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.app-header-actions {
	align-items: center;
	gap: 0.5rem;
}

.header-action-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.5rem;
	padding: 0.35rem 0.7rem;
	background: #f7f9fc;
	border: 1px solid #d8e0ec;
	border-radius: 999px;
	color: #305aa6;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.header-action-pill:hover {
	background: #eef3fb;
	border-color: #b9c8df;
	color: #244987;
	text-decoration: none;
}

.header-action-pill .icon {
	flex: 0 0 auto;
	margin: 0;
}

.header-action-pill-warning {
	color: #9a5b00;
}

.header-action-pill-warning:hover {
	background: #fff8e6;
	border-color: #e6c878;
	color: #7d4a00;
}

.header-action-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.3rem;
	height: 1.3rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	background: #fff1c2;
	color: #8a5100;
	font-size: 0.72rem;
	font-weight: 700;
}

.messages-index .table td {
	vertical-align: top;
}

.messages-index {
	border: 1px solid #dbe5ef;
	box-shadow: 0 10px 26px rgba(32, 56, 90, 0.08);
}

.messages-index .table {
	margin-bottom: 0;
}

.messages-index .table tbody tr {
	transition: background-color 0.15s ease;
}

.messages-index .table tbody tr:hover {
	background: #f8fbff;
}

.messages-index .table th,
.messages-index .table td {
	padding-top: 0.7rem;
	padding-bottom: 0.7rem;
}

.messages-index .table th {
	font-size: 0.74rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 700;
	color: #5b6f88;
}

.messages-index .contact-name {
	font-weight: 600;
	line-height: 1.15;
	margin-bottom: 0.1rem;
}

.messages-index .contact-phone {
	line-height: 1.1;
	margin-bottom: 0.2rem;
}

.messages-index .contact-compact-meta {
	line-height: 1.15;
	font-size: 0.78rem;
}

.messages-index .message-column > div:first-child {
	line-height: 1.2;
}

.messages-index .message-preview-text {
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.28;
	font-weight: 500;
	color: #1d2f46;
}

.messages-index .message-type {
	font-size: 0.76rem;
	margin-top: 0.2rem !important;
}

.messages-index .message-actor {
	color: #3b5576;
	font-weight: 600;
}

.messages-index .attention-badge {
	font-weight: 700;
	font-size: 0.72rem;
	padding: 0.28rem 0.5rem;
	border: 1px solid transparent;
	letter-spacing: 0.01em;
}

.messages-index .attention-badge-pending {
	background: #fff2df;
	color: #8b4500;
	border-color: #f1c891;
}

.messages-index .attention-badge-done {
	background: #e6f6ea;
	color: #196a35;
	border-color: #9fd4b0;
}

.messages-index .wa-status-hint {
	color: #40556f;
	font-weight: 600;
}

.pagination-shell {
	display: flex;
	justify-content: center;
	padding: 0.25rem 0;
}

.pagination-modern {
	gap: 0.35rem;
	flex-wrap: wrap;
	align-items: center;
}

.pagination-modern .page-item .page-link {
	border-radius: 0.5rem;
	border: 1px solid #d1d9e6;
	background: #ffffff;
	color: #2f4f86;
	font-weight: 600;
	padding: 0.38rem 0.62rem;
	line-height: 1.1;
	box-shadow: 0 1px 1px rgba(20, 45, 88, 0.06);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pagination-modern .page-item .page-link:hover {
	background: #eef4ff;
	border-color: #b9caec;
	color: #1f4380;
	text-decoration: none;
}

.pagination-modern .page-item.active .page-link {
	background: #2f5fb7;
	border-color: #2f5fb7;
	color: #ffffff;
	box-shadow: 0 2px 6px rgba(26, 66, 137, 0.28);
}

.pagination-modern .page-item.disabled .page-link {
	background: #f5f7fb;
	border-color: #dce3ef;
	color: #8a96ab;
	box-shadow: none;
}

.dashboard-actions {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.dashboard-filter-actions {
	flex-wrap: wrap;
}

.dashboard-kpi-card {
	border: 1px solid #c2d0e6;
	box-shadow: 0 6px 14px rgba(16, 38, 74, 0.08);
}

.dashboard-kpi-card-main {
	background: linear-gradient(135deg, #edf3ff 0%, #dfe9fb 100%);
}

.dashboard-kpi-label {
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #4e678d;
	margin-bottom: 0.45rem;
}

.dashboard-kpi-value {
	font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.5rem);
	font-weight: 800;
	line-height: 1;
	color: #1d3f72;
}

.dashboard-kpi-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
}

.dashboard-kpi-split-item {
	padding: 0.34rem 0.48rem;
	border: 1px solid #bfd1ef;
	border-radius: 0.45rem;
	background: #f5f9ff;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.55rem;
}

.dashboard-kpi-split-label {
	font-size: 0.79rem;
	font-weight: 700;
	color: #4b648a;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.dashboard-kpi-split-value {
	font-size: clamp(1.35rem, 1rem + 1vw, 1.9rem);
	line-height: 1;
	color: #1d3f72;
}

.dashboard-kpi-total-note {
	margin-top: 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: #4e678d;
}

.dashboard-active-filter {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	padding: 0.55rem 0.75rem;
	border: 1px solid #9fb8e8;
	border-left: 6px solid #1b468f;
	border-radius: 0.5rem;
	background: linear-gradient(120deg, #e5efff 0%, #f5f9ff 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 2px 10px rgba(27, 70, 143, 0.08);
}

.dashboard-active-filter-badge {
	background: #163f84;
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.dashboard-active-filter-range {
	font-weight: 700;
	color: #173d78;
}

.dashboard-active-filter-note {
	font-size: 0.82rem;
	font-weight: 700;
	padding: 0.16rem 0.42rem;
	border-radius: 999px;
	background: #dfe9fb;
	color: #2a4b7b;
}

.dashboard-preset-active {
	box-shadow: 0 0 0 2px rgba(47, 95, 183, 0.24), 0 2px 8px rgba(23, 61, 120, 0.26);
	font-weight: 700;
}

.dashboard-rank-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-height: 500px;
	overflow: auto;
	padding-right: 0.15rem;
}

.dashboard-rank-list-compact {
	gap: 0.5rem;
	max-height: 560px;
}

.dashboard-rank-item {
	padding: 0.62rem 0.68rem;
	border: 1px solid #dce4f1;
	border-radius: 0.55rem;
	background: #f9fbff;
}

.dashboard-rank-list-compact .dashboard-rank-item {
	padding: 0.46rem 0.52rem;
	border-radius: 0.48rem;
}

.dashboard-rank-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.45rem;
}

.dashboard-rank-title .badge {
	max-width: calc(100% - 5rem);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dashboard-rank-list-compact .dashboard-rank-title {
	margin-bottom: 0.32rem;
	gap: 0.45rem;
}

.dashboard-rank-total {
	font-size: 1rem;
	font-weight: 800;
	color: #173d78;
	line-height: 1;
	white-space: nowrap;
}

.dashboard-rank-list-compact .dashboard-rank-total {
	font-size: 0.9rem;
}

.dashboard-rank-track {
	height: 0.48rem;
	border-radius: 999px;
	background: #e3eaf7;
	overflow: hidden;
}

.dashboard-rank-list-compact .dashboard-rank-track {
	height: 0.4rem;
}

.dashboard-rank-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	transition: width 0.2s ease;
}

.dashboard-rank-fill-tag {
	background: linear-gradient(90deg, #2f5fb7 0%, #5a8ee7 100%);
}

.dashboard-rank-fill-role {
	background: linear-gradient(90deg, #4f42a7 0%, #7b6cd2 100%);
}

.dashboard-rank-split {
	margin-top: 0.35rem;
	height: 0.34rem;
	border-radius: 999px;
	background: #f2d8d8;
	overflow: hidden;
}

.dashboard-rank-list-compact .dashboard-rank-split {
	margin-top: 0.25rem;
	height: 0.28rem;
}

.dashboard-rank-split-in {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #92c2a2;
}

.dashboard-rank-meta {
	margin-top: 0.38rem;
	font-size: 0.79rem;
	color: #516685;
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.dashboard-rank-list-compact .dashboard-rank-meta {
	margin-top: 0.26rem;
	font-size: 0.75rem;
}

.dashboard-status-badge {
	font-weight: 700;
	border: 1px solid transparent;
	letter-spacing: 0.01em;
}

.dashboard-status-good {
	background: #e3f6ea;
	color: #0f5c2b;
	border-color: #97d7ae;
}

.dashboard-status-progress {
	background: #e8f0ff;
	color: #1a4b99;
	border-color: #a9c0f0;
}

.dashboard-status-received {
	background: #e6f7ef;
	color: #11603a;
	border-color: #9ed9bf;
}

.dashboard-status-failed {
	background: #fdecec;
	color: #8a1f1f;
	border-color: #f2b2b2;
}

.dashboard-status-neutral {
	background: #f1f4f8;
	color: #41536c;
	border-color: #ccd6e2;
}

.dashboard-chip {
	font-weight: 700;
	border: 1px solid transparent;
	letter-spacing: 0.01em;
}

.dashboard-chip-tag {
	background: #e8f2ff;
	color: #1f4d93;
	border-color: #a9c6ee;
}

.dashboard-chip-role {
	background: #ede9ff;
	color: #4c3a8f;
	border-color: #bcb0eb;
}

.dashboard-chip-neutral {
	background: #f1f4f8;
	color: #41536c;
	border-color: #ccd6e2;
}

.dashboard-total-badge {
	font-weight: 700;
	border: 1px solid transparent;
	letter-spacing: 0.01em;
}

.dashboard-total-inbound {
	background: #e6f6ea;
	color: #155d33;
	border-color: #9fd4b0;
}

.dashboard-total-outbound {
	background: #e8f0ff;
	color: #1a4b99;
	border-color: #a9c0f0;
}

.dashboard-attention-badge {
	font-weight: 700;
	border: 1px solid transparent;
	letter-spacing: 0.01em;
}

.dashboard-attention-pending {
	background: #fff2df;
	color: #8b4500;
	border-color: #f1c891;
}

.dashboard-attention-replied {
	background: #e6f6ea;
	color: #196a35;
	border-color: #9fd4b0;
}

.dashboard-attention-neutral {
	background: #f1f4f8;
	color: #41536c;
	border-color: #ccd6e2;
}

.admin-navbar-shell .navbar-toggler {
	border: 1px solid #d0d7e3;
	background: #ffffff;
}

.bulk-guide-panel {
	border: 1px solid #cfd8e6;
	box-shadow: 0 8px 16px rgba(23, 45, 82, 0.08);
}

.bulk-guide-overlay {
	position: fixed;
	left: 1rem;
	top: 120px;
	width: min(430px, calc(100vw - 2rem));
	max-height: calc(100vh - 140px);
	overflow: auto;
	z-index: 1060;
	background: #ffffff;
}

.bulk-guide-layout {
	transition: padding-left 0.24s ease;
}

.bulk-guide-layout-shifted {
	padding-left: min(450px, calc(100vw - 2rem));
}

.bulk-guide-panel-peek {
	animation: bulk-guide-peek 0.35s ease-out;
}

@keyframes bulk-guide-peek {
	from {
		opacity: 0;
		transform: translateX(-16px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.bulk-guide-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.75rem;
}

.bulk-guide-item {
	border: 1px solid #d6deeb;
	border-radius: 0.55rem;
	padding: 0.72rem;
	background: #f9fbff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bulk-guide-item-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.3rem;
}

.bulk-guide-item-done {
	border-color: #9fd4b0;
	background: #effaf2;
	box-shadow: inset 0 0 0 1px rgba(159, 212, 176, 0.35);
}

.bulk-guide-focus {
	outline: 3px solid #8fb4f0;
	outline-offset: 2px;
	transition: outline-color 0.15s ease;
}

.bulk-guide-cta {
	position: relative;
	animation: bulk-guide-pulse 1.9s ease-out infinite;
}

.bulk-guide-cta-large {
	font-size: 1rem;
	font-weight: 700;
	padding: 0.54rem 0.95rem;
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	border-width: 2px;
	box-shadow: 0 4px 10px rgba(22, 63, 132, 0.16);
}

.bulk-guide-progress-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	background: #1a4b99;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.28rem 0.65rem;
	border-radius: 99px;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.bulk-guide-step-badge {
	display: inline-block;
	padding: 0.28rem 0.62rem;
	border-radius: 99px;
	font-size: 0.78rem;
	font-weight: 700;
	white-space: nowrap;
	background: #e2e8f0;
	color: #2d3a4a;
	border: 1px solid #c0ccd8;
}

.bulk-guide-step-badge-done {
	background: #1a7a3c;
	color: #ffffff;
	border-color: #1a7a3c;
}

@keyframes bulk-guide-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(47, 95, 183, 0.35);
	}
	70% {
		box-shadow: 0 0 0 9px rgba(47, 95, 183, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(47, 95, 183, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bulk-guide-cta {
		animation: none;
	}
}

@media (max-width: 767.98px) {
	.bulk-guide-overlay {
		left: 0.5rem;
		right: 0.5rem;
		width: auto;
		top: 90px;
		max-height: calc(100vh - 105px);
	}

	.bulk-guide-layout-shifted {
		padding-left: 0;
	}
}

@media (max-width: 767.98px) {
	.app-header .container-xl {
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.5rem;
	}

	.app-header .navbar-nav {
		margin-left: auto;
		flex: 0 0 auto;
	}

	.app-brand-block {
		min-width: 0;
		flex: 1 1 auto;
		gap: 0.45rem;
	}

	.app-brand-copy {
		min-width: 0;
	}

	.app-brand-subtitle {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: calc(100vw - 165px);
	}

	#navbar-menu {
		border-top: 1px solid #dce2eb;
	}

	#navbar-menu .navbar-nav {
		width: 100%;
		padding: 0.45rem 0;
	}

	#navbar-menu .nav-item {
		width: 100%;
	}

	#navbar-menu .nav-link {
		padding: 0.65rem 0;
	}

	.app-brand-logo {
		height: 30px;
	}

	.app-brand-description {
		display: none;
	}

	.app-header .container-xl {
		padding-top: 0.55rem;
		padding-bottom: 0.55rem;
	}

	.account-chip {
		padding: 0.2rem 0.3rem;
	}

	.account-chip-meta {
		display: none;
	}

	.account-chip-avatar {
		width: 1.55rem;
		height: 1.55rem;
		font-size: 0.72rem;
	}

	.app-header-actions {
		gap: 0.3rem;
	}

	.header-action-pill {
		min-height: 2rem;
		padding: 0.3rem 0.45rem;
	}

	.header-action-label {
		display: none;
	}

	.messages-index-header {
		flex-direction: column;
		align-items: stretch !important;
		gap: 0.75rem;
	}

	.messages-index-header .btn {
		width: 100%;
	}

	.messages-filter-actions {
		flex-wrap: wrap;
	}

	.messages-filter-actions .btn {
		flex: 1 1 100%;
	}

	.messages-index .table-responsive {
		overflow-x: visible;
	}

	.pagination-modern {
		gap: 0.2rem;
	}

	.pagination-modern .page-item .page-link {
		font-size: 0.78rem;
		padding: 0.3rem 0.48rem;
	}

	.messages-index .table thead {
		display: none;
	}

	.messages-index .table,
	.messages-index .table tbody,
	.messages-index .table tr,
	.messages-index .table td {
		display: block;
		width: 100%;
	}

	.messages-index .table tr {
		padding: 0.5rem 0.45rem;
		border-bottom: 1px solid #dce2eb;
		border-left: 3px solid transparent;
		border-radius: 0.4rem;
		margin: 0.25rem 0;
	}

	.messages-index .table tr.conversation-inbound {
		background: #f5fbf5;
		border-left-color: #5cb85c;
	}

	.messages-index .table tr.conversation-outbound {
		background: #f4f8ff;
		border-left-color: #3f7ad9;
	}

	.messages-index .table td {
		padding: 0.25rem 0.2rem;
		white-space: normal !important;
		word-break: break-word;
		border-top: 0;
	}

	.messages-index .message-mobile-meta .badge {
		margin-right: 0.25rem;
	}

	.messages-index .table td.direction-column,
	.messages-index .table td.status-column,
	.messages-index .table td.updated-column,
	.messages-index .table td.actions-column {
		display: none !important;
	}

	.messages-index .contact-column,
	.messages-index .message-column {
		min-width: 0;
	}

	.messages-index .contact-extra {
		display: none;
	}

	.messages-index .contact-topline {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 0.5rem;
	}

	.messages-index .contact-name {
		margin-bottom: 0.1rem;
	}

	.messages-index .contact-phone {
		font-size: 0.8rem;
	}

	.messages-index .contact-updated {
		white-space: nowrap;
		font-size: 0.75rem;
	}

	.messages-index .message-type {
		display: none;
	}

	.messages-index .message-column > div:first-child {
		display: -webkit-box;
		line-clamp: 3;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.dashboard-header {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 0.75rem;
	}

	.dashboard-actions {
		width: 100%;
		justify-content: flex-start;
	}

	.dashboard-actions .btn,
	.dashboard-filter-actions .btn {
		flex: 1 1 100%;
	}

	.dashboard-kpi-primary .col-lg-6,
	.dashboard-kpi-secondary .col-md-6 {
		width: 100%;
	}

	.dashboard-kpi-split {
		grid-template-columns: 1fr;
	}

	.dashboard-active-filter {
		align-items: flex-start;
	}

	.dashboard-active-filter-range {
		width: 100%;
	}

	.dashboard-rank-list {
		max-height: none;
	}

	.table-responsive .table {
		font-size: 0.86rem;
	}

	.table-responsive .table th,
	.table-responsive .table td {
		white-space: nowrap;
	}

	.chat-toast {
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
		max-width: none;
	}

	.app-footer-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		row-gap: 0.4rem;
	}

	.app-footer-copy,
	.app-footer-links,
	.app-footer-developed-by {
		justify-self: center;
	}

	.app-footer-developed-by {
		margin-left: 0;
	}
}

@media (max-width: 575.98px) {
	.app-brand-subtitle {
		display: none;
	}
}

.import-error-cell {
	min-width: 220px;
	max-width: 320px;
	white-space: normal !important;
	vertical-align: middle;
}

.import-error-details summary {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
}

.import-error-details summary::-webkit-details-marker {
	display: none;
}

.import-error-details summary::after {
	content: "Ver";
	color: #206bc4;
	font-size: 0.75rem;
	margin-left: auto;
}

.import-error-details[open] summary::after {
	content: "Ocultar";
}

.import-error-list {
	margin: 0.35rem 0 0;
	padding-left: 1rem;
	color: #d63939;
	font-size: 0.82rem;
	line-height: 1.25;
	max-height: 7rem;
	overflow: auto;
}

.billing-records-table {
	min-width: 1720px;
}

.billing-records-table th,
.billing-records-table td {
	vertical-align: middle;
}

.billing-payments-cell {
	min-width: 390px;
}

.billing-payments-cell > .small {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
}

.billing-payment-entry {
	display: grid;
	grid-template-columns: 92px 132px minmax(140px, 1fr) auto;
	gap: 0.35rem;
	align-items: center;
	padding-top: 0.45rem;
	border-top: 1px solid #e6e8eb;
}

.billing-payment-submit {
	margin: 0;
}

.billing-payment-submit .btn {
	white-space: nowrap;
}

@media (max-width: 991.98px) {
	.billing-payment-entry {
		grid-template-columns: minmax(110px, 1fr) minmax(132px, 1fr);
	}

	.billing-payment-reference,
	.billing-payment-submit,
	.billing-payment-submit .btn {
		width: 100%;
	}
}
