.elementor-widget-soda-google-maps-directions .soda-gm-directions-wrapper {
	width: 100%;
}

.elementor-widget-soda-google-maps-directions .soda-gm-directions-map {
	width: 100%;
	min-height: 300px;
}

.elementor-widget-soda-google-maps-directions .custom-map-control-button {
	appearance: button;
	background-color: #fff;
	border: 0;
	border-radius: 0px;
	box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	margin: 10px;
	padding: 0 0.5em;
	height: 40px;
	font: 400 18px Roboto, Arial, sans-serif;
	overflow: hidden;
	color: rgb(86, 86, 86);
}

.elementor-widget-soda-google-maps-directions .gm-style img {
	max-width: none;
}

/* =========================================================
   Distance / duration results panel (VCA viajaconalvaro)
   ========================================================= */

.elementor-widget-soda-google-maps-directions .soda-gm-directions-result {
	opacity: 1;
	transition: opacity 0.3s ease-in-out;
	padding: 10px;
	margin-top: 0;
	border:none;
	border-radius: 0px;
	background: #fafafa00;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: #283c75;
	box-sizing: border-box;
	position: absolute;
	bottom: 0;
}
.elementor-widget-soda-google-maps-directions .soda-gm-directions-result.soda-gm-directions-ready {
	opacity: 1;
}

.elementor-widget-soda-google-maps-directions .soda-gm-directions-result .soda-gm-directions-result-loading {
display: none
}

/* ------- Totals ------- */
.elementor-widget-soda-google-maps-directions .soda-gm-directions-title {
	margin: 0 0 14px 0 !important;
	padding: 0;
	font-size: 1.2em !important;
	font-weight: 700;
	line-height: 1.2;
	color: #111827;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	display: none
}

h3.soda-gm-directions-title {

	display: none
}

.elementor-widget-soda-google-maps-directions .soda-gm-totals-inline {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px;
}

.soda-gm-directions-result.soda-gm-hide-totals-inline .soda-gm-totals-inline,
.elementor-widget-soda-google-maps-directions .soda-gm-hide-totals-inline .soda-gm-totals-inline {
	display: none !important;
}

@media (max-width: 520px) {
	.elementor-widget-soda-google-maps-directions .soda-gm-totals-inline {
		grid-template-columns: 1fr;
	}
}

.elementor-widget-soda-google-maps-directions .soda-gm-total {
	display: flex;
flex-direction: row;
gap: 10px;
padding: 10px 12px;
background: #ffffff;
border: 1px solid #ccc;
border-radius: 0px;
margin-bottom: 5px
}
@media (max-width: 1200px) {
	.elementor-widget-soda-google-maps-directions .soda-gm-total {
		display: flex;
	flex-direction: column;
}
}

.elementor-widget-soda-google-maps-directions .soda-gm-total-label {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0em;
	color: #6d717b;
	font-weight: 700;
	line-height: 1;


}

.elementor-widget-soda-google-maps-directions .soda-gm-total-value {
	font-size: 14px;
	font-weight: 700;
	color: #273c75;
	letter-spacing: 0em;
	line-height: 1;


}

/* ------- Badges ------- */
.elementor-widget-soda-google-maps-directions .soda-gm-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 999px;
	background: #eef2ff;
	color: #3730a3;
	white-space: nowrap;
}

.elementor-widget-soda-google-maps-directions .soda-gm-badge-travel {
	background: #ecfeff;
	color: #155e75;
}

.elementor-widget-soda-google-maps-directions .soda-gm-badge-units {
	background: #fef3c7;
	color: #92400e;
}

.elementor-widget-soda-google-maps-directions .soda-gm-badge-dist {
	background: #eff6ff;
	color: #1e40af;
}

.elementor-widget-soda-google-maps-directions .soda-gm-badge-dur {
	background: #f0fdf4;
	color: #166534;
}

.elementor-widget-soda-google-maps-directions .soda-gm-badge-noresult {
	background: #fef2f2;
	color: #991b1b;
}

/* ------- Legs list layout ------- */
.elementor-widget-soda-google-maps-directions .soda-gm-legs-wrapper {
	margin-top: 0px;
	padding-top: 0px;
	border-top: 1px dashed #e5e7eb;
}

.elementor-widget-soda-google-maps-directions .soda-gm-legs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0px;
}

.elementor-widget-soda-google-maps-directions .soda-gm-leg-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 10px;
	padding: 5px 10px;
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 0px;
	margin: 0 0 5px;
}

.elementor-widget-soda-google-maps-directions .soda-gm-leg-route-inline {
	font-weight: 700;
    color: #283c75;
    font-size: 14px;
    flex: 1 1 auto;
    min-width: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.elementor-widget-soda-google-maps-directions .soda-gm-leg-arrow {
	color: #9ca3af;
	padding: 0 3px;
}

.elementor-widget-soda-google-maps-directions .soda-gm-leg-badges {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: 0 0 auto;
}

.elementor-widget-soda-google-maps-directions .soda-gm-directions-leg-noresult {
	opacity: 0.75;
	background: #fff7ed;
	border-color: #fed7aa;
}

/* ------- Legs table layout ------- */
.elementor-widget-soda-google-maps-directions .soda-gm-legs-table {
width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 0px;
    overflow: hidden;
 

}

.elementor-widget-soda-google-maps-directions .soda-gm-legs-table thead {
	background: #f3f4f6;
}

.elementor-widget-soda-google-maps-directions .soda-gm-legs-table th,
.elementor-widget-soda-google-maps-directions .soda-gm-legs-table td {
	padding: 6px 8px;
	text-align: left;
	border-bottom: 1px solid #ececec;
	vertical-align: middle;
}

.elementor-widget-soda-google-maps-directions .soda-gm-legs-table tbody tr:last-child td {
	border-bottom: 0;
}

.elementor-widget-soda-google-maps-directions .soda-gm-legs-table th {
	font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0em;
    font-size: 0.78em;
    color: #6d717b;
  
}

.elementor-widget-soda-google-maps-directions .soda-gm-legs-table .soda-gm-leg-idx {
	width: 52px;
	text-align: center;
	color: #6d717b;
	font-weight: 600;

}

.elementor-widget-soda-google-maps-directions .soda-gm-legs-table .soda-gm-leg-dist {
	font-weight: 700;
	color: #1e3a8a;
}

.elementor-widget-soda-google-maps-directions .soda-gm-legs-table .soda-gm-leg-dur {
	font-weight: 700;
	color: #166534;
}

/* ------- Legs table toggle button (VCA) ------- */
.elementor-widget-soda-google-maps-directions .soda-gm-table-toggle-wrapper {
	margin-top: 0px;
}
.elementor-widget-soda-google-maps-directions .soda-gm-table-toggle {

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0px;
    color: #274f89;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    outline: none;
    box-sizing: border-box;
  
    letter-spacing: 0;
    border-radius: 4px;
}
.elementor-widget-soda-google-maps-directions .soda-gm-table-toggle:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
}
.elementor-widget-soda-google-maps-directions .soda-gm-table-toggle:focus-visible {
	outline: 2px solid #1e3a8a;
	outline-offset: 2px;
}
.elementor-widget-soda-google-maps-directions .soda-gm-table-toggle-chevron {
	display: inline-block;
	transition: transform 0.2s ease;
	font-size: 0.9em;
	line-height: 1;
	color: #64748b;
}
.elementor-widget-soda-google-maps-directions .soda-gm-table-toggle[aria-expanded="true"] .soda-gm-table-toggle-chevron {
	transform: rotate(180deg);
}
.elementor-widget-soda-google-maps-directions .soda-gm-legs-wrapper.soda-gm-layout-table.soda-gm-collapsed {
	display: none;
}
.elementor-widget-soda-google-maps-directions .soda-gm-legs-wrapper.soda-gm-layout-table {
	display: block;
	margin-top: 8px;
	overflow-x: auto;
	max-width: 100%;
}



.soda-gm-total-duration{
display: none !important;
}

.gm-style .gm-style-iw-c,.gm-style .gm-style-iw-tc{
    display: none !important;
}