@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('AppGlobal.css');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');
:root {
    --mud-typography-default-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-h1-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-h2-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-h3-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-h4-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-h5-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-h6-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-subtitle1-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-subtitle2-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-body1-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-body2-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-button-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-caption-family: 'Google Sans Flex', Arial, sans-serif !important;
    --mud-typography-overline-family: 'Google Sans Flex', Arial, sans-serif !important;

    --text-xs: clamp(0.75rem, 0.75rem + 0vw, 0.75rem);
    --text-sm: clamp(0.8rem, 0.17vw + 0.76rem, 0.875rem);
    --text-base: clamp(0.9375rem, 0.2vw + 0.89rem, 1rem);
    --text-lg: clamp(1rem, 0.4vw + 0.91rem, 1.125rem);
    --text-xl: clamp(1.125rem, 0.43vw + 1.02rem, 1.25rem);
    --text-2xl: clamp(1.25rem, 0.85vw + 1.04rem, 1.5rem);
    --text-3xl: clamp(1.5rem, 1.28vw + 1.18rem, 1.875rem);
    --text-4xl: clamp(1.75rem, 1.7vw + 1.32rem, 2.25rem);
    --text-5xl: clamp(2rem, 3.4vw + 1.15rem, 3rem);
    --text-6xl: clamp(2.5rem, 4.27vw + 1.43rem, 3.75rem);
    --text-7xl: clamp(3rem, 5.1vw + 1.72rem, 4.5rem);
    --text-8xl: clamp(3.5rem, 8.5vw + 1.37rem, 6rem);
    --text-9xl: clamp(4rem, 13.6vw + 0.6rem, 8rem);
}

html, body, .mud-typography, .mud-input, .mud-button {
    font-family: 'Google Sans Flex', Arial, sans-serif !important;
}

/* Lock root font-size on Landing / Main page to standard 16px to eliminate stepped zoom jumps */
html:has(.hero-container) {
    font-size: 16px !important;
}

html:has(.hero-container) .holder .bar-nav .header-menu .mud-icon-button .mud-icon-root,
html:has(.hero-container) .holder .bar-nav .header-menu .mud-button-root .mud-icon-root,
html:has(.hero-container) .holder .bar-nav .header-menu .mud-icon-button .fal,
html:has(.hero-container) .holder .bar-nav .header-menu .mud-button-root .fal {
    font-size: 1.35rem !important; /* 21.6px */
}

html:has(.hero-container) .holder .bar-nav .nav-button .mud-button-label h6,
html:has(.hero-container) .holder .bar-nav .reg-button .mud-button-label h6 {
    font-size: 0.9375rem !important; /* 15px */
}

html:has(.hero-container) .holder .bar-nav .reg-button {
    margin-left: 0.9rem !important;
    padding: 8px 24px !important;
}

/* Mobile header and drawer sizing on landing page */
@media (max-width: 959px) {
    html:has(.hero-container) .holder .bar-nav .internal-cima-icon,
    html:has(.hero-container) .holder .bar-nav .internal-shipping-icon,
    html:has(.hero-container) .holder .bar-nav .internal-thesharks-icon,
    html:has(.hero-container) .holder .bar-nav .internal-bafar-icon,
    html:has(.hero-container) .holder .bar-nav .internal-expressport-icon,
    html:has(.hero-container) .holder .bar-nav .internal-logipuerto-icon {
        font-size: 1.5rem !important; /* 24px */
    }

    html:has(.hero-container) .holder .bar-nav .header-menu .header-icon-mobile .mud-icon-root,
    html:has(.hero-container) .holder .bar-nav .header-menu .header-icon-mobile .fal,
    html:has(.hero-container) .holder .bar-nav .hamburger-menu-icon .mud-icon-root,
    html:has(.hero-container) .mobile-drawer .header-menu .header-icon-mobile .mud-icon-root,
    html:has(.hero-container) .mobile-drawer .header-menu .header-icon-mobile .fal,
    html:has(.hero-container) .mobile-drawer .hamburger-menu-icon .mud-icon-root {
        font-size: 1.5rem !important; /* 24px */
    }
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.mud-button {
    border-radius: 100px !important;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44Nzcg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zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


/* Íconos dentro de los botones (TAMAÑO ESCRITORIO) */
.header-menu .mud-icon-button .mud-icon-root,
.header-menu .mud-button-root .mud-icon-root,
.header-menu .mud-icon-button .fal,
.header-menu .mud-button-root .fal {
    font-size: 1.8rem !important;
    font-weight: 100 !important;
}

/* Estilo responsivo para íconos en móvil (TAMAÑO MÓVIL - MÁS GRANDE) */
.header-menu .header-icon-mobile .mud-icon-root,
.header-menu .header-icon-mobile .fal {
    font-size: 3.5rem !important;
}
.titulo-seccion {
    color: #0045ac !important;
    font-weight: bold !important;
    opacity: 1 !important;
    background-color: #f9f9f9 !important;
    border-top: 1px solid #e0e0e0 !important;
}

.enlace-activo {
    color: black !important;
}

.enlace-activo:hover {
    background-color: #e3f2fd !important;
    color: #0056b3 !important;
}
/* Estilos de items (estos no necesitan casi cambios) */
.cima-booking {
    text-align: center !important;
    font-weight: 700 !important;
    color: #0045ac !important;
    position: relative !important;
    justify-content: center;
    background-color: transparent !important;
    opacity: 1 !important;
}

.cima-booking::after {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 12px !important;
}
