/* Estilos generales */
* {
  box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, a {
    color: #2a4d69;
}
h1{
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
}

a {
    text-decoration: none;
}

/* Encabezado */
header {
    background-color: #2c3e50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

header h1 a {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    color: white !important;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand > img {
    border: none !important;
}

.custom-toggler.navbar-toggler{
    background:  #f9f9f9 !important;
}

.alink {
    text-decoration: underline;
}

/* Botones */
.btn {
    min-width: 117px;
}
.btn-primary {
    background-color: #2c3e50;
    border-color: #ccc;
    color: #fff;
}

.btn-primary:hover {
    background-color: #fff;
    color: #2c3e50;
    border-color: #2c3e50;
}

.btn-ico {
    background-color: #fff;
    border-color: #ccc;
}

.btn-ico:hover {
    background-color: #2c3e50;
}

.btn-info {
    background-color: #42a5f5; /* Azul amigable */
    border-color: #42a5f5;
}

.btn-info:hover {
    background-color: #1e88e5;
    border-color: #1e88e5;
}

.btn-alert {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

/* Tablas */
.table {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
}

.pagination a {
    color: #2c3e50;
}

/*.page-item .active{*/
.active > a {
   background-color: #2c3e50 !important;
   border: 0px !important;
    color: green;
}

.table, .table td {
    border: 1px solid #ced4da !important;
}
.table th, .tableLineas th {
    background-color: #2c3e50;
    color: white;
    /*text-align: center;*/
    padding-left: 10px;
}

.table td {
    /*text-align: center;*/
    padding-left: 10px;
    vertical-align: middle;
}

.tableLineas {
    width: 100%;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #e9ecef; /* Tonalidad naranja suave */
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #fff; /* Más suave */
}

/* Formularios */
form {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

label, form .form-label {
    font-weight: bold;
    color: #2c3e50;
}

form .form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Iconos o elementos decorativos */
header::after {
    /*content: "🐾";*/ /* Pata decorativa */
    font-size: 1.5rem;
    margin-left: 10px;
}

.pacientes:before {
    content: "🐶"
}

.propietarios:before {
    /*content: "👤"*/
    content: "👩‍💼"
}

.citas:before {
    content: "📆"
}

.inventario:before {
    content: "📋"
}

/*h1::before {
    content: "🐶 ";
}*/

footer::after {
    /*content: " 🐾";*/
}

.izq {text-align: left;}
.der {text-align: right;}

/* Resposive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    main {
        overflow-x: auto;
    }

    .btn {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
}
