﻿/* General */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}
/* Header fijo con espacio compensado */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo, .logoERP {
    height: 45px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logoERP {
    height: 40px;
    margin-right: 1rem;
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

    nav a:hover {
        color: var(--secondary-color);
    }
/* Contenedor del dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Estilo del botón */
.dropdown-button {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

/* Contenido desplegable */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
}

/* Elementos del dropdown */
.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

    .dropdown-item:hover {
        background-color: #f1f1f1;
    }

/* Mostrar el contenido del dropdown cuando se hace hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Asegurar que el botón y los items estén alineados */
.dropdown-button:hover {
    color: var(--secondary-color);
}
/* Contenedor Principal */
.container {
    margin-top: 2%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tarjeta */
.card {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 1800px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #333333;
    color: white;
    text-align: center;
    padding: 20px;
}

.card-body {
    background-color: #f9f9f9;
    text-align: center;
    padding: 40px;
}

.card-footer {
    background-color: #f9f9f9;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
}

.text-danger {
    color: #dc3545 !important;
}

.text-muted {
    color: #666666 !important;
}

.fw-bold {
    font-weight: 600;
}

.fw-light {
    font-weight: 300;
}

.animate__fadeInUp {
    animation-duration: 0.8s;
}

select.form-select {
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

    select.form-select:focus {
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

