* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    color: #333;
}
/* =========================
   HEADER
========================= */
header {
    height: 80px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    color: white;
}
.logo-header {
    width: 110px;
    height: auto;
}
.logo-header2 {
    width: 120px;
    height: auto;
}
.titulo {
    text-align: center;
}
.titulo span {
    font-size: 11px;
    letter-spacing: 3px;
    opacity: .7;
}
.titulo h1 {
            font-family: "Michroma", sans-serif;

    font-size: 20px;
    margin-top: 4px;
}
/* =========================
   CONTENIDO
========================= */
main {
    padding: 35px;
}
/* =========================
   BARRA SUPERIOR
========================= */
.barra-superior {
    background: white;
    padding: 22px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    box-shadow:
        0 4px 15px rgba(0,0,0,.08);
}
.barra-superior h2 {
    margin-bottom: 5px;
    font-size: 22px;
}
.barra-superior p {
    margin: 0;
    color: #777;
    font-size: 14px;
}
/* =========================
   BOTÓN NUEVO
========================= */
.btn-nuevo {
    border: none;
    background: #111;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}
.btn-nuevo:hover {
    background: #333;
    transform: translateY(-1px);
}
/* =========================
   TABLA
========================= */
.tabla-contenedor {
    background: white;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow:
        0 4px 15px rgba(0,0,0,.08);
}
table {
    width: 100%;
    border-collapse: collapse;
}
thead {
    background: #111;
    color: white;
}
th {
    padding: 15px;
    font-size: 13px;
    white-space: nowrap;
}
td {
    padding: 13px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
tbody tr:hover {
    background: #f8f8f8;
}
/* =========================
   INPUTS
========================= */
td input {
    width: 100%;
    min-width: 110px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}
td input:focus {
    border-color: #111;
}
/* =========================
   BOTONES
========================= */
.btn-editar,
.btn-guardar,
.btn-cancelar {
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin: 2px;
}
.btn-editar {
    background: #111;
    color: white;
}
.btn-editar:hover {
    background: #333;
}
.btn-guardar {
    background: #102757;
    color: white;
}
.btn-guardar:hover {
    background: #19377c;
}
.btn-cancelar {
    background: #444242;
    color: white;
}
.btn-cancelar:hover {
    background: #868484;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    main {
        padding: 15px;
    }
    .barra-superior {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .btn-nuevo {
        width: 100%;
    }
    header {
        padding: 0 15px;
    }
    .logo-header,
    .logo-header2 {
        width: 65px;
    }
}

/* CONTRASEÑAS */

.input-group {
    width: 250px !important;
}

.input-group .form-control {
    width: 210px !important;
    font-size: 13px;
}


/* COLUMNAS DE CONTRASEÑAS */

th:nth-child(7),
td:nth-child(7),
th:nth-child(9),
td:nth-child(9),
th:nth-child(11),
td:nth-child(11),
th:nth-child(13),
td:nth-child(13),
th:nth-child(15),
td:nth-child(15) {
    min-width: 250px;
}


/* BOTÓN DEL OJO */

.input-group .btn {
    width: 40px;
    padding: 5px;
}
.btn-responsiva {
    display: inline-block;
    padding: 8px 12px;
    margin-left: 5px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.btn-responsiva:hover {
    color: white;
    background: #555;
}
