.joints-disclaimer {
    font-size: 0.88em;
    color: var(--orange-color, #ff8f18);
    white-space: nowrap;
    display: flex;
    align-items: center;
    margin-left: 18px;
    margin-right: 18px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.joints-disclaimer-icon {
    height: 16px;
    width: 16px;
    margin-right: 8px;
    filter: brightness(0) saturate(100%) invert(32%) sepia(98%) saturate(747%)
        hue-rotate(180deg) brightness(90%) contrast(90%);
    vertical-align: middle;
}

.modal-footer .close-modal-btn {
    margin-left: 18px;
    margin-right: 18px;
}
#jadas10-vsg:hover,
#jadas27-vsg:hover,
#jadas71-vsg:hover,
#sjadas10:hover,
#jadas10-pcr:hover,
#jadas27-pcr:hover,
#jadas71-pcr:hover,
#jadas10-3v:hover,
#jadas27-3v:hover,
#jadas71-3v:hover,
#jadiA-icon:hover,
#jadiE-icon:hover {
    cursor: pointer;
}
/* Estilo para la interpretación de los modales JADAS 3v, igual a la descripción principal */
.jadas-interpretacion-list {
    font-family: "Verdana", sans-serif;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    color: #222;
    list-style-type: disc;
    padding-left: 1.5em;
}
:root {
    --orange-color: #ff8f18;
    --blue-color: #0063be;
}

html {
    height: 100%;
}

.modal-content {
    border-radius: 0;
}

body {
    background: url("../img/background.png") no-repeat fixed;
    background-position: calc(100% + 280px) calc(50% - 30px);
    background-size: auto;
    font-family: "Verdana", sans-serif;
    height: 100%;
}

/* Background override cuando existen las clases especiales en cualquier elemento */
body:has(.custom-bg),
body:has(.calculator),
body:has(.contact-page),
body:has(.reference-page) {
    background-position: calc(0% + -480px) calc(0% - -108px);
}

.hero-section {
    min-height: 80vh;
}

.btn-primary {
    background-color: var(--orange-color);
    border: none;
}

.btn-secondary {
    background-color: var(--blue-color);
    border: none;
}

.hero-section .orb-img {
    width: 250px;
}

.hero-section h1 {
    font-size: 38px;
    color: var(--blue-color);
    font-weight: bold;
    max-width: 844px;
}

.hero-section p {
    font-size: 14px;
    line-height: 1.5;
}

.hero-btns a {
    padding: 10px 20px;
    width: 400px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.hero-btns .btn-primary:hover {
    background-color: var(--orange-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-btns .btn-secondary:hover {
    background-color: #0056a3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-btns .btn-secondary {
    margin-left: 2px;
}

.hero-btns .play-icon {
    margin-right: 10px;
    margin-bottom: 1px;
}

/* Footer */

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-top: -15px;
}

.footer-link {
    white-space: nowrap;
    color: var(--blue-color);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-content a {
    font-size: 14px;
}

/* Primer enlace del footer con footer-link en naranja */
.footer-content ul.list-unstyled li:first-child .footer-link {
    color: var(--orange-color) !important;
}

#disclaimer .modal-lg {
    max-width: 680px;
}

#disclaimer .modal-content .modal-body p {
    color: var(--blue-color);
    font-size: 16px;
    line-height: 1.5;
    padding: 0px 20px;
}

#disclaimer .modal-content .modal-body button {
    color: #ffff;
    font-size: 12px;
    font-weight: bold;
}

#disclaimer .modal-content .modal-body button:hover {
    background-color: var(--orange-color) !important;
}

/* Navbar */

#navbarNav li {
    font-size: 14px;
}

.navbar-nav li:first-child .nav-link {
    color: var(--orange-color);
}

.navbar-nav li:not(:first-child) .nav-link {
    color: var(--blue-color);
}

.navbar-nav .nav-link .play-icon {
    margin-bottom: 1px;
}

.airline-logo-navbar {
    width: 275px;
    margin-top: 10px;
}

.navbar-nav li .nav-link {
    margin-right: 10px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    box-shadow: none;
}

/* Calculator Page */

.calc-data-container {
    background-color: #e5e5e5;
    border-radius: 6px;
    height: 65px;
}

.calc-container-width {
    max-width: 476px;
}

.calc-title,
.result-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--blue-color);
}

.calc-data-container .calc-data-input {
    font-size: 18px;
    color: var(--orange-color);
    font-weight: bold;
    border: none;
    max-width: 60px;
    text-align: center;
    outline: none;
}

.calc-data-container .search-icon {
    width: 20px;
    margin-left: 11px;
    margin-right: -14px;
    cursor: pointer;
}

.calc-data-container .arrow-icon {
    width: 16px;
    margin-left: 10px;
    margin-right: -8px;
}

.calc-data-container .calc-data-text {
    font-size: 13px;
    font-weight: bold;
    max-width: 262px;
    text-align: left;
}

.calc-container-width .calc-footer {
    margin-top: 45px;
}

.calc-container-width .calc-footer .calc-footer-text {
    color: #666666;
    font-size: 12px;
}

.calc-container-width .calc-footer img {
    margin: 0 10px;
}

.calc-container-width .calc-footer .unit-change {
    margin-bottom: 10px;
}

.calc-container-width .calc-footer .unit-change .arrow-icon {
    width: 16px;
}

.calc-container-width .calc-footer .selector-image .search-icon {
    width: 18px;
}

.calc-container-width .calc-footer .calculator-data-btn {
    background: white;
    color: var(--blue-color);
    border-color: var(--blue-color);
    font-weight: bold;
    font-size: 14px;
    transform: translateY(-20px);
}

.calc-container-width .calc-footer .calculator-data-btn:hover {
    background: var(--blue-color);
    color: white;
}

.calc-container-width .calc-footer .calculator-data-pediatric-btn {
    background: white;
    color: var(--orange-color);
    border-color: var(--orange-color);
    font-weight: bold;
    font-size: 14px;
    transform: translateY(-20px);
}

.calc-container-width .calc-footer .calculator-data-pediatric-btn:hover {
    background: var(--orange-color);
    color: white;
}

.joint-subtitle {
    font-size: 11px;
    font-weight: 400;
    font-style: italic;
    display: none;
}

/* Clases específicas para PCR y VSG */
.pcr-subtitle,
.vsg-subtitle {
    font-size: 11px;
    font-weight: 400;
    font-style: italic;
    display: block;
}

/* Result Table */

.result-container {
    border-radius: 16px;
    max-width: 470px;
}

.result-container-bg {
    background-color: var(--blue-color);
    padding: 30px;
    padding-top: 32px;
    padding-bottom: 32px;
    border-radius: 16px;
    margin-top: -7px;
}

.result-container .result-container-item {
    background: #e3e3e3;
    border-radius: 6px;
    max-height: 70px;
}

.result-container-item .right-content,
.result-container-item .left-content {
    width: 119px;
}

.result-container-item .left-content .boolean-remission {
    text-align: left;
    white-space: pre-line;
}

.result-column-container .result-column-img {
    height: 70px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.result-container-item .result-value {
    color: #a5a5a5;
    font-weight: bold;
    font-size: 20px;
}

.result-container-item .result-column-container {
    height: 70px;
}

.result-column-container .result-column-indicator {
    width: 100%;
    height: 1px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    background-color: #000;
    bottom: 0%; /* Cambiar valor para mover la línea hacia arriba o hacia abajo */
    display: none;
}

.result-buttons {
    max-width: 270px;
    margin-top: 23px;
}

.icon-container {
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    box-shadow: 2px 2px 6px rgba(149, 149, 149, 0.5);
}

.icon-container:hover {
    background-color: var(--blue-color);
    cursor: pointer;
}

.icon-container:hover img {
    filter: brightness(0) invert(1); /* Invierte los colores al hacer hover */
}

.result-buttons .copy-text,
.share-text,
.download-text {
    margin-left: 1px !important;
    color: var(--blue-color);
    font-size: 12px;
}

/* Media Query Home Mobile */

@media (max-width: 575.98px) {
    .hero-section {
        padding: 36px 20px;
    }
    .hero-btns {
        text-align: center;
    }
    .hero-btns a {
        padding: 10px 20px;
        font-weight: bold;
        font-size: 14px;
        margin-bottom: 10px;
    }
    .hero-section .orb-img {
        width: 250px;
        margin-top: 40px;
    }
    .hero-section h1 {
        font-size: 30px;
        color: var(--blue-color);
        font-weight: bold;
    }
    .list-unstyled {
        margin-right: 10px;
    }
    .result-title {
        margin-top: -50px;
    }
    .result-container .result-title {
        margin-top: -24px !important;
    }
}

/* Media Query Home Tablet */

@media (max-width: 991.98px) {
    .hero-section {
        max-width: 510px;
        text-align: center;
        min-height: 88vh;
    }
    .hero-section .orb-img {
        margin-top: 50px;
    }
    .airline-logo-navbar {
        max-width: 220px;
    }
    .list-unstyled {
        margin-right: 20px;
    }
    .footer-logo {
        margin-left: 10px;
    }
    .calc-container-width {
        max-width: none;
    }
    .result-container {
        max-width: none;
    }
    .result-data-text {
        font-size: 12px !important;
    }
}

/* Custom Tablet */
@media (min-width: 767.98px) and (max-width: 991.98px) {
    .calc-data-container .calc-data-text {
        font-size: 12px;
        max-width: 170px;
    }
    .result-container-bg {
        padding: 22px;
        font-size: 14px;
        width: 350px !important;
    }
    .result-container-item .result-value {
        font-size: 16px;
    }
    .result-title {
        width: 350px !important;
    }
}

@media (min-width: 767.98px) {
    #showCalcData {
        display: none;
    }
    #showCalcDataPediatric {
        display: none;
    }
    .modal-content {
        border-radius: 8px;
    }
}

@media (min-width: 476.98px) {
    .arline-logo {
        max-width: 300px;
    }
}

/* Calculator Mobile */
@media (max-width: 440px) {
    .calc-data-container .calc-data-text {
        text-align: left;
        min-width: 130px;
        max-width: 165px;
        font-size: 12px;
    }
    .calc-data-container .d-inline {
        margin-top: -7px;
    }
    .calc-title .calc-container-width .calc-footer {
        margin-top: 24px;
    }
    .calc-buttons a {
        font-size: 12px !important;
    }
    .calc-container-width .calc-footer {
        margin-top: 30px;
    }
    .calc-footer .image-selector-container {
        margin-top: -15px;
    }
    .footer-content {
        font-size: 14px;
    }
    .text-area-size {
        height: 120px !important;
    }
}
/* Modals CSS */

.right-content span {
    text-align: right;
}

.modal-header {
    border-bottom: 0px;
}

.modal-icon-container {
    width: 54px;
    height: 54px;
    background-color: var(--blue-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-bottom: 0px;
}

.modal-share-content p {
    margin-top: -14px;
    color: var(--blue-color);
    font-size: 14px;
    font-weight: 700;
}

.modal-share-content input {
    border-radius: 3px;
    border: 1px solid rgba(211, 211, 211, 1);
    opacity: 1;
    background-color: rgba(246, 246, 246, 1);
    max-width: 270px;
}

.modal-share-content input::placeholder {
    color: black;
    font-size: 13px;
}

.modal-share-content button {
    border-radius: 6px;
}

.modal-share-content button:hover {
    background: var(--orange-color) !important;
}

.modal-icon-container img {
    filter: brightness(0) invert(1);
}

.modal-header .send-text {
    color: var(--blue-color);
    font-size: 18px;
    font-weight: bold;
}

#shareResult .btn-primary {
    background-color: var(--blue-color);
}

#das-28-vsg:hover,
#das-28-pcr:hover,
#sdai:hover,
#cdai:hover,
#boolean-remission:hover {
    cursor: pointer;
}

#result-sdai .sdai-title {
    font-size: 14px;
}

.result-modal-info img {
    width: 40px;
}

.modal-header .modal-title {
    color: var(--blue-color);
}

.modal-results-content h6 {
    color: var(--blue-color);
    font-size: 14px;
    font-weight: 700;
}

.modal-results-content p {
    font-size: 13px;
}

.table {
    font-size: 13px;
}

.modal-results-content .info-references {
    color: rgba(0, 0, 0, 1);
    font-size: 11px;
}

/* Contact & Reference Page */

.reference-page h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    color: var(--blue-color);
}

.reference-page h4 {
    font-size: 17px;
    font-weight: 700;
    line-height: 21px;
    color: var(--blue-color);
}

.contact-page .contact-title {
    font-size: 20px;
    color: var(--blue-color);
    font-weight: 700;
}

.contact-page label {
    font-size: 14px;
    color: var(--blue-color);
    font-weight: 600;
}

.contact-page p {
    opacity: 1;
    color: rgba(47, 47, 47, 1);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: center;
    line-height: 21px;
}

.reference-page p {
    font-size: 13px;
}

.calculator .custom-vh {
    height: calc(100% - 250px) !important;
    min-height: 560px;
}

.contact-form input,
.contact-form textarea {
    border-radius: 6px;
    border: none;
    opacity: 1;
    background-color: rgba(243, 243, 243, 1);
}

.contact-form button:hover {
    background: var(--orange-color) !important;
}

/* Calculator buttons */

.calc-buttons {
    margin-top: -15px;
}

.calc-buttons #showCalcData {
    background-color: var(--blue-color);
    color: white;
}

.calc-buttons #showCalcData:hover {
    background-color: var(--orange-color);
    border: 1px solid white;
}

.calc-buttons #showCalcDataPediatric {
    background-color: var(--orange-color);
    color: white;
}

.calc-buttons #showCalcDataPediatric:hover {
    background-color: var(--orange-color);
    border: 1px solid white;
}

@media (min-width: 991.98px) {
    .calc-data-container .calc-data-text {
        max-width: 344px;
    }
    .calc-main-table {
        width: 476px;
    }
    .result-container {
        margin-left: 40px;
        max-width: 400px;
    }
}

@media (min-width: 1200px) {
    .calc-main-table {
        margin-left: -180px;
        width: 476px;
    }
    .result-container {
        margin-left: 0px;
    }
    .calc-title {
        margin-bottom: 30px;
    }
    .custom-margin {
        margin-left: 58px;
    }
    .reference-page p {
        font-size: 14px;
    }
    .hero-section p {
        padding-right: 40px !important;
    }
}

.result-data-text {
    font-size: 14px;
}

.right-content span {
    font-size: 12px;
    font-weight: bold;
    white-space: pre-line;
}

.result-container-bg {
    width: 400px;
}
.result-title {
    width: 400px;
}

/* Navbar hover */

.nav-link {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--orange-color);
    transition: left 0.3s ease, right 0.3s ease;
}

.nav-link:hover {
    color: var(--orange-color) !important;
}

.nav-link:hover::after {
    left: 0;
    right: 0;
}

/* Footer hover */

.footer-link {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--orange-color);
    transition: left 0.3s ease, right 0.3s ease;
}

.footer-link:hover {
    color: var(--orange-color);
    text-decoration: none;
}

.footer-link:hover::after {
    left: 0;
    right: 0;
}

.result-container-bg {
    margin-top: -12px;
    padding-bottom: 18px;
    padding-top: 24px;
}
.result-container-bg > div {
    margin-top: 13px;
    margin-bottom: 13px;
}

.result-container-bg > div:first-child {
    margin-top: 0;
}
.result-container-bg > div:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .result-container-bg {
        padding: 16px;
        padding-bottom: 10px;
        width: 100%;
        margin: 0 auto;
    }
    footer {
        padding-top: 25px;
    }
    .footer-logo {
        margin-top: 0 !important;
    }
}

@media (min-width: 575.98px) and (max-width: 767px) {
    .result-container {
        margin-top: 0px !important;
    }
}

.calc-data-container .calc-data-input {
    margin-top: 0 !important;
    line-height: 26px;
}
.arrow-icon,
.search-icon {
    margin-top: -6px;
    cursor: pointer;
}

.result-buttons {
    padding-left: 0px !important;
}

@media (min-width: 991.98px) {
    .result-buttons {
        padding-left: 60px !important;
        max-width: 400px;
    }
    .joint-subtitle {
        display: block;
    }
    .info-tooltip-icon {
        display: none;
    }
    .pcr-text,
    .vsg-text {
        padding-left: 5px !important;
    }
}

@media (max-width: 575.98px) {
    .container-fluid > .row {
        width: 100% !important;
    }

    .container-fluid > .row > div {
        padding: 0 !important;
    }
    .result-container-bg {
        max-width: 100%;
        margin: 0 auto;
    }
    .result-container-item .result-value {
        font-size: 16px;
    }
    .result-title {
        width: 100%;
    }
}

@media (min-width: 575.98px) and (max-width: 767px) {
    .result-container {
        margin-top: 0px !important;
    }
}

@media (min-width: 442px) and (max-width: 504px) {
    .calc-data-container .calc-data-text {
        max-width: 240px;
    }
}

.units-10 {
    display: none;
}

.modal-footer {
    border: none !important;
}

.calc-data-input::placeholder {
    color: var(--orange-color);
}

.modal-footer .joint-btn {
    margin-top: -70px;
    cursor: pointer;
    z-index: 1;
}

.modal-footer .joint-btn:hover {
    background-color: var(--orange-color);
}

.result-text {
    color: #a5a5a5;
}

.status-0 {
    color: #a5a5a5 !important;
}
.status-1,
.status-2,
.status-5 {
    color: #22b850 !important;
}
.status-3 {
    color: #ff8a00 !important;
}
.status-6,
.status-4 {
    color: #ff2805 !important;
}

.left-hand-image,
.right-hand-image {
    margin-top: 30px;
}

.left-foot-image,
.right-foot-image {
    margin-top: 30px;
}

.joint-modal-title {
    font-size: 18px;
    font-weight: 700;
    font-style: Bold;
    letter-spacing: 0px;
    text-align: center;
    max-width: 350px;
}

.joint-container {
    position: relative;
    display: inline-block;
    /* Asegúrate de que no se excedan del modal */
    max-width: 100%;
}

.joint-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.zone {
    position: absolute;
    width: 15px;
    /* Tamaño de los puntos */
    height: 15px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #979797;
    /* Blanco para no seleccionado */
    cursor: pointer;
}

.zone.active {
    background-color: #fe5959;
    border-color: #fff;
    /* Naranja para seleccionado */
}

.zone.body-zone {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .hand-image,
    .body-image {
        width: auto;
    }

    .zone {
        width: 14px;
        /* Más pequeño para pantallas más pequeñas */
        height: 14px;
    }
}

.active-result {
    background-color: white !important;
}

.disabled {
    filter: grayscale(100%) !important;
    opacity: 0.4 !important;
    pointer-events: none;
}

.mail-success,
.mail-error,
.mail-warning {
    display: none;
    margin-top: 30px;
    font-weight: bold;
}

.mail-success {
    color: #28a745;
}

.mail-warning {
    color: orange;
}

.mail-error {
    color: red;
}

.share-result-btn {
    margin-top: 30px;
}

.loading-overlay {
    z-index: 999999 !important;
}

.plain-link {
    color: inherit;
    text-decoration: none;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.loading-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: fixed;
    top: 40%;
    left: 48%;
    transform: translate(-50%, -50%);
    animation: spin 2s linear infinite;
    background-color: var(--blue-color);
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 575.98px) and (max-width: 991.98px) {
    .hero-section {
        margin-top: 30px;
        min-height: 88vh;
    }
}

.text-area-size {
    height: 200px;
}

@media (max-width: 575.98px) {
    .custom-full-height-modal {
        margin: 0;
        margin-right: auto;
        margin-left: auto;
        width: 100vw;
        height: 100vh;
        border: none;
    }

    .custom-full-height-modal .modal-content {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .modal-body-wrapper {
        flex-grow: 1;
        overflow-y: auto;
    }
}

.modal-header .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Para Chrome, Safari, Edge */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.references-background {
    background-color: var(--blue-color);
    padding: 40px;
    border-radius: 8px;
    color: #ffffff;
    opacity: 1;
}

.references-background p {
    color: #ffffff;
}

.to-grey img {
    opacity: 0.2;
}

.units-1,
.units-10 {
    white-space: nowrap;
}

.btn-back:hover {
    background-color: orange;
    color: white;
}

.references-background {
    max-width: 1000px;
}

/* Cookie Concent Styles */

.cc-nb-okagree,
.cc-nb-reject {
    background-color: var(--blue-color) !important;
}

.cc-nb-main-container {
    background-color: white !important;
}

.termsfeed-com---nb-simple {
    max-width: 100% !important;
    width: 100%;
}

.termsfeed-com---nb .cc-nb-main-container {
    padding: 2rem !important;
}

.cc-nb-buttons-container button {
    border-radius: 6px !important;
}

/* Estilos específicos para pestañas del modal de cookies */
#modal_cookies .nav-tabs .nav-link.active {
    background-color: var(--blue-color) !important;
    border-color: var(--blue-color) !important;
    color: white !important;
}

#modal_cookies .nav-tabs .nav-link {
    background-color: transparent;
    border-color: #dee2e6;
    color: var(--blue-color);
}

#modal_cookies .nav-tabs .nav-link:hover {
    background-color: rgba(0, 99, 190, 0.1);
    border-color: #dee2e6;
    color: var(--blue-color);
}

.info-tooltip-icon {
    margin-left: -12px;
}

.pcr-text,
.vsg-text {
    padding-left: 12px;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--blue-color);
    --bs-tooltip-color: var(--bs-white);
}

/* Patata Mobile */

@media (max-width: 345px) {
    .calc-data-container .search-icon {
        margin-right: -18px;
    }
    .calc-data-container .calc-data-text {
        max-width: 160px;
    }
    .calc-data-container .calc-data-input {
        max-width: 40px;
    }
    .calc-data-container .arrow-icon {
        margin-right: -13px;
    }
    .calc-buttons {
        max-width: 98px;
    }
}

/* Estilos específicos para joint-subtitle en móvil */
@media (max-width: 767px) {
    /* Mantener ocultos los subtítulos generales en móvil */
    .joint-subtitle {
        display: none !important;
    }

    /* Mostrar solo PCR y VSG en móvil */
    .pcr-subtitle,
    .vsg-subtitle {
        display: block !important;
        font-size: 9px !important;
        line-height: 1.2;
        margin-top: 2px;
    }

    /* Ajustar el contenedor de texto en móvil para PCR y VSG */
    .calc-data-container .calc-data-text {
        line-height: 1.3;
    }

    /* Hacer que las unidades se adapten mejor */
    .units-1, .units-10 {
        display: block;
        font-size: 8px;
    }
}

.nav-link {
    color: var(--blue-color);
}

.nav-active {
    background-color: var(--orange-color);
    border-radius: 8px;
}

.body-lang-en .calc-data-container .calc-data-text {
    font-size: 12px;
}

.nav-link.dropdown-toggle::after {
    content: none;
}

/* Estilos específicos para pediatriccalculator */
.references-background-aij {
    background-color: var(--orange-color) !important;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 40px;
    opacity: 1;
    max-width: 1000px;
}

.references-background-coordinator {
    background-color: var(--orange-color) !important;
    color: #ffffff !important;
    border-radius: 8px;
    padding-left: 40px;
    padding-top: 15px;
    padding-bottom: 5px;
    opacity: 1;
    max-width: 1000px;
}

.references-background-aij p {
    color: #ffffff !important;
}

.references-background-coordinator p {
    color: #ffffff !important;
}

.calculator-pediatric .result-container-bg {
    background-color: var(--orange-color) !important;
}

.calculator-pediatric .result-data-text {
    font-size: 13px !important;
}

.calculator-pediatric .right-content span {
    font-size: 11px;
    font-weight: bold;
    white-space: pre-line;
}

/* Mejorar visibilidad de radio y checkbox en el modal mSMS */
#msmsModal .form-check-input[type="radio"],
#msmsModal .form-check-input[type="checkbox"] {
    transform: scale(1.4);
    margin-right: 10px;
    accent-color: #007bff;
}
#msmsModal .form-check-label {
    font-weight: 500;
    font-size: 1.05em;
}
#msmsModal td {
    vertical-align: middle;
}
#msmsModal td strong {
    font-size: 1.08em;
}
/* Centrar fiebre verticalmente en la celda */
#msmsModal tr:first-child td:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 120px;
}

/* Disclaimer para articulaciones JADAS-27 en el modal */

.joints-disclaimer {
    font-size: 12px;
    color: var(--orange-color, #ff8f18);
    text-align: center;
    display: inline-flex;
    align-items: center;
    margin-left: 18px;
    margin-right: 0;
    margin-top: 6px;
    margin-bottom: 6px;
    padding-right: 32px;
}

.joints-disclaimer-icon {
    height: 16px;
    width: 16px;
    margin-right: 6px;
    filter: brightness(0) saturate(100%) invert(32%) sepia(98%) saturate(747%)
        hue-rotate(180deg) brightness(90%) contrast(90%);
    vertical-align: middle;
}

#result-sam .result-value {
    font-size: 18px !important;
}
