body {
    background-color: white;
    font-family: 'Times New Roman', Times, serif;
}

header {
    background-color: #fff;
    border-bottom: 2px solid #ccc;
}

h1 {
    font-size: 1.1rem;
    font-weight: normal;
    text-transform: uppercase;
    color: #333; /* Color negro para INVENTARIADO */
}

h2 {
    font-size: 2.5rem;
    font-weight: normal;
    color: #b01c24; /* Rojo para PODER JUDICIAL DEL PERÚ */
}

h3, h4 {
    color: #333;
}

.card {
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

input[type="text"], input[type="password"] {
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
}

button {
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    background-color: #dc3545; /* Rojo */
    color: white;
    border: none;
}

input[type="password"] {
    padding-right: 40px;
}

.btn-outline-secondary {
    background-color: transparent;
    border: none;
}

img {
    max-height: 150px;
    max-width: 250px;
    object-fit: contain;
}

.text-center {
    text-align: center;
}

.text-dark {
    color: #333;
}

.text-danger {
    color: #b01c24; /* Rojo para los textos importantes */
}

a {
    text-decoration: none;
    font-weight: bold;
}

/* Estilos para el formulario de login */
.login-card {
    max-width: 400px;
    margin: 0 auto;
}

/* Estilos para el formulario de registro */
.registro-card {
    max-width: 500px;
    margin: 0 auto;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    h1 {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .text-center h2 {
        font-size: 2rem;
    }

    .card {
        padding: 15px;
    }

    .img-fluid {
        max-width: 200px;
    }

    .container {
        margin-top: 50px;
    }

    .col-md-4 {
        width: 100%;
    }

    .col-md-3 {
        width: 100%;
        margin-bottom: 20px;
    }
}
/* Estilos para el header */
.header-custom {
    background-color: #b01c24;  /* Rojo oscuro */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo {
    max-width: 50px;  /* Ajustamos el tamaño del logo */
}

.header-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: normal;
    margin-left: 10px;
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
}

.username {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    margin-right: 25px;
}

.btn-logout {
    background-color: white;
    color: #b01c24;
    border: 1px solid #b01c24;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 25px; /* Botón más curvo */
    text-decoration: none;
}

/* Estilos para los botones de acción */
.btn-danger {
    background-color: #b01c24;  /* Rojo similar al header */
    color: white;
    font-family: 'Calibri', sans-serif; /* Cambiamos la fuente de la tabla */
    border-radius: 25px;  /* Hacemos los bordes más curvos */
    font-size: 1.2rem; /* Le damos un tamaño de letra más pequeño */
    padding: 8px 20px;  /* Ajustamos el tamaño del botón */
}

.btn-custom {
    background-color: #7B7462;  /* Color marrón grisáceo */
    color: black;
    font-family: 'Calibri', sans-serif; /* Cambiamos la fuente de la tabla */
    border-radius: 25px;  /* Hacemos los bordes más curvos */
    font-size: 1.2rem; /* Le damos un tamaño de letra más pequeño */
    padding: 8px 20px;  /* Ajustamos el tamaño del botón */
}

/* Estilos para la tabla de inventariado */
.table th, .table td {
    text-align: center;
    vertical-align: middle;
    font-family: 'Calibri', sans-serif; /* Cambiamos la fuente de la tabla */
}

.table-dang {
    background-color: #b01c24;
    color: white;
}

.table td {
    padding: 20px;
}

/* Estilos para la búsqueda (solo campo) */
input[type="text"] {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    font-family: 'Calibri', sans-serif; /* Cambiamos la fuente del input */
}

/* Responsividad */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.5rem;  /* Ajustamos el tamaño del texto */
    }

    .username {
        font-size: 1rem;  /* Ajustamos el tamaño del texto */
    }

    .header-logo {
        max-width: 40px;  /* Logo más pequeño en pantallas pequeñas */
    }

    .header-custom {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .header-left {
        margin-bottom: 10px;
    }

    .table {
        font-size: 12px;
    }

    .d-flex {
        flex-direction: column;
    }

    .d-flex input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
    }
}
