/* Estilos base */
:root {
    --primary-color: rgb(212, 0, 0);
    --secondary-color: #ffffff;
    --background-color: #f8f9fa;
    --text-color: #333;
}

.form-signin {
    width: 100%;
    max-width: 450px;
    margin: auto;
}

body {
    /* display: flex; */
    /* align-items: center; */
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    /* height: 100%; */
}

/* Header */
.header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
    padding: 1rem 0;
}

h2 {
    color: rgb(212, 0, 0) !important;
}

h3 {
    color: rgb(212, 0, 0) !important;
}

select option {
    background-color: rgb(255, 255, 255) !important;
    color: rgb(212, 0, 0) !important;
}

select {
    background-color: rgb(255, 255, 255) !important;
    color: rgb(212, 0, 0) !important;
    border: 0.1rem solid rgb(212, 0, 0) !important;
    border-radius: 4px !important;
    padding: 0.5rem !important;
    transition: all 0.3s ease !important;
}

select :checked {
    background-color: rgb(255, 255, 255) !important;
    color: rgb(212, 0, 0) !important;
}

.navbar {
    background-color: rgba(255, 255, 255, 0);
    border-color: rgb(212, 0, 0);
    border-width: 0.1em;
    border-top-style: solid;
    border-bottom-style: solid;
}

.navbar-brand {
    font-weight: 600;
    color: rgb(212, 0, 0) !important;
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
}

.navbar-toggler {
    outline: none;
}

.navbar-toggler-hover {
    background-color: rgb(255, 255, 255);

}

/* Navegación */

.nav-link {
    color: rgb(212, 0, 0) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: blue;
    /* background-color: yellow; */
}

.nav-link.hover {
    color: orange !important;
    background-color: gray;

}

/* Tablas */
thead th {
    color: rgb(212, 0, 0);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer .container {
    text-align: center;
}

/* Contenido principal */
.main-content {
    padding: 2rem 0;
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.btn {
    background-color: white;
    color: var(--primary-color);
    border: 0.1rem solid var(--primary-color);
    border-radius: 4px;
    margin-bottom: 5px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    width: 100%;
    /* para btn-block */
    text-align: center;
}


.btn:hover {
    background-color: var(--primary-color);
    color: white;
    border: 0.1rem solid var(--primary-color);
    transform: translateY(-2px);
}


a {
    color: rgb(212, 0, 0);
    ;
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.label {
    color: rgb(212, 0, 0);
    ;
    text-decoration: none;
}

.form-control {
    color: var(--primary-color);
}

.form-container {
    background-color: white;
    max-width: 600px;
    margin: auto;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.icon-red {
    color: rgb(212, 0, 0) !important;
}



/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Diseño móvil */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.1rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .card-title {
        font-size: 1.2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        padding: 0.5rem;
    }
}