body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #F5F5F5;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-y: hidden;
    
}

.container-hsjd {
    max-width: 800px;
    margin: 15px auto;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.titulo {
    color: #005BAC;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.subtitulo {
    color: #6E6E6E;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    color: #6E6E6E;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.2s;
}

    .form-control:focus {
        border-color: #4A90E2;
        outline: none;
        box-shadow: 0 0 4px rgba(74,144,226,0.4);
    }

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #4A90E2;
    color: #FFFFFF;
}

    .btn-primary:hover {
        background-color: #005BAC;
    }

.btn-secondary {
    background-color: #6E6E6E;
    color: #FFFFFF;
}

    .btn-secondary:hover {
        background-color: #4d4d4d;
    }

.btn-danger {
    background-color: #d9534f;
    color: #FFFFFF;
}

    .btn-danger:hover {
        background-color: #b52b27;
    }

.table-hsjd {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .table-hsjd th {
        background-color: #005BAC;
        color: #FFFFFF;
        padding: 10px;
        text-align: left;
    }

    .table-hsjd td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .table-hsjd tr:nth-child(even) {
        background-color: #F5F5F5;
    }

    .table-hsjd tr:hover {
        background-color: #e9f2fb;
    }

.link {
    color: #005BAC;
    text-decoration: none;
    font-size: 14px;
}

    .link:hover {
        text-decoration: underline;
    }

.text-danger {
    color: #d9534f;
    font-size: 12px;
}

.acciones {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.header-hsjd {
    background-color: #005BAC;
    color: #FFFFFF;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 500;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.full-width {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }
}
.layout-container {
    display: flex;
    flex: 1;
}


.sidebar {
    width: 250px;
    height: 100vh;
    min-width: 250px;
    min-height: 100vh;
    background-color: #e9e9e9;
    padding: 10px;
}

.container {
    flex: 1;
    padding: 20px 20px 20px 20px;
    width: 100vh;
    height: 700px;
    overflow: auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.btn-3d {
    display: block;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    background: linear-gradient(145deg,#005BAC,#4A90E2);
    box-shadow: 4px 4px 8px rgba(0,0,0,0.6), -2px -2px 4px rgba(255,255,255,0.1);
    transition: all 0.15s ease-in-out;
}

    .btn-3d:hover {
        transform: translateY(-2px);
        box-shadow: 6px 6px 12px rgba(0,0,0,0.7), -2px -2px 4px rgba(255,255,255,0.1);
        color:black;
    }

    .btn-3d:active {
        transform: translateY(2px);
        box-shadow: inset 2px 2px 6px rgba(0,0,0,0.7);
    }



.cabecera {
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    background-color: #005BAC; /* opcional */
    color: white;
    padding: 10px 10px 10px 10px;
    font-size: 22px;
}

.pie {
    height: 60px;
    width: 100%;
    background-color: #005BAC;
    text-align: center;
    padding: 10px;
}

dt {
    white-space:nowrap;

}
dd {
    word-break: break-word;
}


.titulo-izq {
    font-weight: 500;
}

.titulo-centro {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
}

.btn-finalizar {
    color: #FFFFFF;
    background-color: dodgerblue;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.2s;
    padding: 10px 10px 10px 10px;
    
}

    .btn-finalizar:hover {
        color: black;
    }

.btn.Crear {
    min-width: 120px; /
    text-align: center;
}   