html {
  font-size: 12px;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--light-gray) !important;
    /*background-color: #C2C2C2;*/
}

main {
    flex: 1; /* Permite que el contenido crezca y empuje el footer hacia abajo */
}

:root {
    --dark-blue: #2D5B7D;
    --purple: #3A3157;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --red: #985656;
}

.bg-primary {
    background-color: var(--dark-blue) !important;
}

.btn-primary {
    background-color: var(--purple) !important;
}

.btn-secondary {
    background-color: var(--red) !important;
}

.btn-dark {
    background-color: var(--dark-blue) !important;
}

/*footer {
    background-color: var(--white);
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}*/

.custom-menu-item {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 15px 15px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
    color: var(--purple);
}

.custom-menu-item:hover {
    background-color: var(--purple) !important;
    color: white !important;
    transform: scale(1.05);
}

.custom-navbar {
    background: linear-gradient(to right, #2C3E50, #4CA1AF);
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.custom-toggler {
    border: 2px solid white;
    border-radius: 5px;
}

.custom-toggler:focus {
    box-shadow: none;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.brand-text {
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
}

@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
    }

    .custom-menu-item {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

#menuLateral .nav-link {
    background-color: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    color: #333;
}

#menuLateral .nav-link:hover {
    background-color: var(--purple) !important;
    color: white;
    transform: translateX(5px);
}

#menuLateral .nav-link.active {
    background-color: var(--purple) !important;
    color: white;
}

.border-dashed {
    border-style: dashed !important;
}

.bg-light-subtle {
    background-color: #FAFAFA !important;
}

.form-select {
    cursor: pointer;
}