.driver-card-actions .driver-card-message,
.driver-profile-actions .driver-profile-message {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	text-decoration: none;
}

.driver-card-actions { gap: 10px; }

.driver-card-actions .driver-card-message {
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid #b7c8c0;
	border-radius: 9px;
	color: #214f41;
	background: #fff;
	font-size: 11px;
	font-weight: 900;
}

.driver-card-actions .driver-card-message:hover,
.driver-card-actions .driver-card-message:focus-visible {
	border-color: #286b55;
	background: #f3f9f6;
}

.rly-provider-chat-dock { position: fixed; right: 22px; bottom: 0; z-index: 100100; display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 12px; max-width: calc(100vw - 44px); }
.rly-floating-chat { width: min(720px, calc(100vw - 28px)); overflow: hidden; border: 1px solid #b6cbc2; border-bottom: 0; border-radius: 15px 15px 0 0; background: #eef6f1; box-shadow: 0 12px 42px rgba(11, 45, 34, .26); transition: width .18s ease; }
.rly-floating-chat.is-minimized { width: min(330px, calc(100vw - 28px)); }
.rly-floating-chat > header { display: flex; min-width: 0; min-height: 48px; padding: 0 6px 0 13px; align-items: center; gap: 2px; color: #fff; background: #1f654f; cursor: default; }
.rly-floating-chat > header strong { min-width: 0; margin-right: auto; overflow: hidden; font-size: .94rem; text-overflow: ellipsis; white-space: nowrap; }
.rly-floating-chat > header button { display: grid; width: 30px; height: 30px; padding: 0; flex: 0 0 30px; place-items: center; border: 0; border-radius: 7px; color: #fff; background: transparent; font-size: 18px; line-height: 1; cursor: pointer; }
.rly-floating-chat > header button:hover,
.rly-floating-chat > header button:focus-visible { background: rgba(255,255,255,.14); outline: none; }
.rly-floating-chat__presence { width: 9px; height: 9px; margin-right: 6px; flex: 0 0 9px; border: 2px solid rgba(255,255,255,.8); border-radius: 50%; background: #7de1a7; }
.rly-floating-chat__unread { display: none; width: 9px; height: 9px; border-radius: 50%; background: #ff574f; box-shadow: 0 0 0 3px rgba(255,255,255,.2); }
.rly-floating-chat.has-unread .rly-floating-chat__unread { display: block; animation: rly-chat-pulse .9s ease-in-out infinite alternate; }
.rly-floating-chat.has-unread > header { animation: rly-chat-flash 1.1s ease-in-out infinite alternate; }
.rly-floating-chat__body { height: min(680px, calc(100vh - 82px)); overflow: hidden; }
.rly-floating-chat.is-minimized .rly-floating-chat__body { display: none; }
.rly-floating-chat .rly-quote-thread { display: flex; flex-direction: column; height: 100%; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.rly-floating-chat .rly-quote-thread > header { display: none; }
.rly-floating-chat .rly-quote-thread__conversation { flex: 1 1 auto; min-height: 210px; }
.rly-floating-chat .rly-quote-thread__items { height: 100%; max-height: none; min-height: 210px; }
.rly-floating-chat [data-quote-message-form] { padding-bottom: 18px; flex: 0 0 auto; }
.rly-floating-chat [data-chat-translation] { min-height: auto; padding: 6px 14px 4px; margin: 0; align-content: flex-start; row-gap: 5px; border-radius: 0; box-sizing: border-box; }
.rly-floating-chat [data-chat-translation] > small { width: 100%; padding: 0 2px; overflow: visible; }
.rly-floating-chat [data-quote-message-form] > label { display: block; margin: 0; padding: 10px 14px 0; background: #f5f8f6; }
.rly-floating-chat [data-quote-message-form] > label > span { display: none; }
.rly-floating-chat .rly-chat-input-shell textarea { min-height: 96px; max-height: 150px; }
.rly-floating-chat .rly-quote-message-toolbar { display: flex !important; min-height: 49px; padding: 7px 14px 8px; margin-top: 3px; align-items: center !important; }
.rly-floating-chat .rly-quote-emoji,
.rly-floating-chat .rly-quote-emoji > button,
.rly-floating-chat .rly-quote-voice-button,
.rly-floating-chat .rly-quote-attachment-button,
.rly-floating-chat .rly-quote-message-send { position: relative; top: auto !important; bottom: auto !important; height: 34px; min-height: 34px; padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; align-self: center !important; vertical-align: middle; transform: none !important; box-sizing: border-box; }
.rly-floating-chat .rly-quote-emoji { display: inline-flex; align-items: center; }
.rly-floating-chat .rly-quote-emoji > button { display: grid !important; padding: 0 !important; place-items: center; line-height: 1 !important; }
.rly-floating-chat .rly-quote-voice-button,
.rly-floating-chat .rly-quote-attachment-button,
.rly-floating-chat .rly-quote-message-send { display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; }
.rly-floating-chat .rly-quote-voice-button > span,
.rly-floating-chat .rly-quote-voice-button > strong,
.rly-floating-chat .rly-quote-attachment-button > span { margin-top: 0 !important; margin-bottom: 0 !important; line-height: 1 !important; }
.rly-floating-chat .rly-quote-attachment-button > svg { display: block; align-self: center; }
.rly-floating-chat .rly-quote-message-send {
	color: #fff !important;
	background: #1f654f !important;
	border-color: #1f654f !important;
	box-shadow: none !important;
}
.rly-floating-chat .rly-quote-message-send:hover,
.rly-floating-chat .rly-quote-message-send:focus-visible { color: #fff !important; background: #174e3e !important; border-color: #174e3e !important; transform: none !important; }
.rly-floating-chat .rly-quote-message-send:disabled { color: #fff !important; opacity: .68; }
.rly-floating-chat > header .rly-floating-chat__open { display: grid; width: 30px; height: 30px; padding: 0; flex: 0 0 30px; place-items: center; border-radius: 7px; color: #fff; font-size: 17px; font-weight: 800; line-height: 1; text-decoration: none; }
.rly-floating-chat > header .rly-floating-chat__open:hover,
.rly-floating-chat > header .rly-floating-chat__open:focus-visible { background: rgba(255,255,255,.14); outline: none; }
@keyframes rly-chat-pulse { to { transform: scale(1.35); } }
@keyframes rly-chat-flash { to { background: #318b6d; } }

@media (max-width: 680px) {
	.rly-provider-chat-dock { right: 8px; gap: 7px; max-width: calc(100vw - 16px); }
	.rly-floating-chat { width: calc(100vw - 16px); }
	.rly-floating-chat__body { height: min(620px, calc(100vh - 70px)); }
	.rly-provider-chat-dock .rly-floating-chat:not(:last-child):not(.is-minimized) { display: none; }
}
