body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    margin: 0; 
    background-color: #f8f9fa;
}

#main {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

footer {
    background-color: #8787877c;
    color: rgba(255, 255, 255, 0.384);
    margin-top: auto;
    text-align: center; 
}

.sidebar {
    height: 100vh;
    width: 0;
    position: fixed;
    font-size: 14px;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    display: flex;
    flex-direction: column; 
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 16px; 
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.sidebar .user-info {
    margin-top: auto; 
    color: #6c708d;
    padding: 20px;
    text-align: center;
}

.sidebar .user-info a {
    text-decoration: none;
    color: #503030;
    font-size: 16px; 
}

.sidebar .user-info i {
    margin-right: 20px; 
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: #fff;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    background-color: #585757;
}

/* Tarjetas activas e inactivas */
.card-unlocked {
    background: linear-gradient(180deg, #dffcd2, #52dd0265);
}

.card-unlocked:hover {
    font-weight: bold;
} 

.card-locked {
    background: linear-gradient(135deg, #f8d3d3, #fda9a9);
    pointer-events: none;
    opacity: 0.5;
    position: relative;
}

.card-locked:hover {
    content: '\1F6AB'; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #fda9a9;
    opacity: 0;
}

/* menu lateral */
.navbar-custom {
    background-color: #7b9fcd; 
    
}
.catalog-link i {
    color: #333333af; 
}
.catalog-link {
    color: #000000; 
    text-decoration: none; 
}
.catalog-link:hover {
    text-decoration: none; 

}

/* login */
.login-container {
    max-width: 600px;
    margin: 200px auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.pp-container {
    max-width: 600px;
    margin: 0px auto;
    padding: 100px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.register-container {
    max-width: 800px;
    margin: 100px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #0c1288; 
}

/* search */
.search-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


/* tabla comparativa SH */
#comparativaSH td, #comparativaSH th {
    padding: 0px; 
    font-size: medium;
}

/* bordes SH */
.borde-sh {
    border-top: 2px solid #000 !important;
    border-bottom: 3px double #000 !important;
}

.borde {
    border-top: 1.5px solid #000 !important;
}

/* imprimir comparativa sh*/
@media print {
    div {
        max-height: none !important;
        overflow: visible !important;
    }
    .no-print {
    display: none !important;
}
}

/* tooltips*/
.tooltip-inner {
    max-width: 250px;
}

/*cards diseño*/
.card-body {
    text-align: center; 
    padding: 20px;
}

#operacionesCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
}

body.card {
    font-family: 'Nunito', sans-serif;
    padding: 15px;
}

.card {
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,.08), 0 0 4px rgba(0,0,0,.05);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
    padding: 8px 20px 10px 16px;
    cursor: pointer;
    position: relative;
    margin-bottom: 8px;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,.12), 0 3px 6px rgba(0,0,0,.06);
}

.card img {
    position: absolute;
    top: 10px;
    right: 10px;
    max-height: 60px;
}

.card-1 {
    background-image: url(https://ionicframework.com/img/getting-started/ionic-native-card.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 40px;
}

.card-2 {
    background-image: url(https://ionicframework.com/img/getting-started/components-card.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 40px;
}

.card-3 {
    background-image: url(https://ionicframework.com/img/getting-started/theming-card.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 40px;
}

@media(max-width: 990px) {
    .card {
        margin: 8px;
    }
}

.card-unlocked {
    opacity: 1;
}

.card-locked {
    opacity: 0.5;
    pointer-events: none;
}


#language-selector {
    position: absolute;
    top: 10px;
    right: 10px;
}
#language-selector img {
    width: 30px;
    margin: 0 5px;
}

b {
    font-weight: bold !important;
}